[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gmane.emacs.bugs] Emacs fails to start properly if the current work
From: |
Andreas Schwab |
Subject: |
Re: [gmane.emacs.bugs] Emacs fails to start properly if the current working directory is on a vfat or ntfs filesystem |
Date: |
Mon, 25 Feb 2008 21:52:26 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Richard Stallman <address@hidden>
>> CC: address@hidden, address@hidden
>> Date: Mon, 25 Feb 2008 05:57:27 -0500
>>
>> > One possible solution would be for Fdo_auto_save to detect that errno
>> > code when `open' fails, and modify the file name.
>>
>> EINVAL is not specific enough for that, IMO.
>>
>> What else causes EINVAL from `open'?
>
> I have no idea, since the GNU/Linux man page for `open' doesn't
> mention EINVAL at all.
POSIX defines two cases:
- The value of the oflag argument is not valid.
- The implementation does not support synchronized I/O for this file.
The latter is only applicable when the synchronized I/O extensions are
supported and any of the O_SYNC/O_DSYNC/O_RSYNC flags is used.
An implementation can define arbitrary extra cases in addition to the
ones mentioned by POSIX.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: [gmane.emacs.bugs] Emacs fails to start properly if the current working directory is on a vfat or ntfs filesystem, Richard Stallman, 2008/02/24