emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 085c7f6 2/2: Test format-time-string with zone


From: Davis Herring
Subject: Re: [Emacs-diffs] master 085c7f6 2/2: Test format-time-string with zone arg
Date: Wed, 3 May 2017 13:33:55 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 05/02/2017 03:55 PM, Bruno Haible wrote:
Filename                            GetLastError()           errno in Emacs   
errno in Gnulib

'\\server'                          ERROR_BAD_PATHNAME       EINVAL           
ENOENT
'\\server\nonexistentshare\'        ERROR_BAD_NET_NAME       EINVAL           
ENOENT
 ?                                  ERROR_INVALID_DRIVE      ENOENT           
EINVAL
 ?                                  ERROR_BAD_NETPATH        ENOENT           
EINVAL
 ?                                  ERROR_DEV_NOT_EXIST      ENOENT           
EINVAL
'C:\System Volume Information\foo'  ERROR_ACCESS_DENIED      EACCES           
EACCESS or EPERM (*)
'C:\pagefile.sys'                   ERROR_SHARING_VIOLATION  EACCES           
EACCESS or EPERM (*)

(*) According to POSIX: 
http://pubs.opengroup.org/onlinepubs/9699919799/functions/utime.html

Can you tell me how to provoke a ERROR_INVALID_DRIVE, ERROR_BAD_NETPATH, or
ERROR_DEV_NOT_EXIST error code?

Billy O'Neal (copied) at Microsoft might be able to help; he's been doing similar error-code mapping for their filesystems (for C++17).

Davis

--
This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]