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

Re: File descriptor leakage?



On Sun, Sep 28, 2014 at 11:07:10PM -0700, Bart Schaefer wrote:
> [...]
> This is the file created when the HIST_SAVE_BY_COPY option is set, which
> is then renamed to the name given by $HISTFILE after being written.  I
> don't know of any reason the behavior for this would have changed from
> 5.0.5 to 5.0.6, but it's possible that workers/33116 is related.
> [...]

Hi, I did a git bisect and found this commit is the first bad one:
979f72199f3d3e98b1f6c712fa26f731dac2cb51

But during the test, it's slightly different: the leaking fd is refering
to a file named ".histfile" and is not deleted.

-- 
Best regards,
lilydjwg



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