Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] history locking with fcntl



On Fri, Apr 18, 2008 at 10:23:12PM -0700, Bart Schaefer wrote:
> I don't think there is a "real error" in the sense of a -1 return from
> a system call and/or an errno value.

I'm assuming that there is based on this in the original report:

zsh: failed to write history file /home/vlefevre/.zhistory: bad file descriptor                                                 

This seems to indicate that an open() call failed for some reason, but
the fdopen() call masked the error.

..wayne..



Messages sorted by: Reverse Date, Date, Thread, Author