GNU bug report logs - #29070
26.0.90; (file-attributes dir) => nil, even though (and (file-exists-p dir) (file-directory-p dir)) => t

Previous Next

Package: emacs;

Reported by: rrandresf <at> gmail.com

Date: Mon, 30 Oct 2017 20:03:01 UTC

Severity: normal

Found in version 26.0.90

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: andrés ramírez <rrandresf <at> gmail.com>
Cc: 29070 <at> debbugs.gnu.org
Subject: bug#29070: 26.0.90; emacs-26.0.90 pretest
Date: Tue, 31 Oct 2017 06:30:54 -0400
andrés ramírez <rrandresf <at> gmail.com> writes:

>> (gdb) p err
>
> fstat
> err= 9

According to [1] this means "bad file descriptor".  But please step
through file_attributes and check which of 'fopenat' or 'fstat' produced
the error.

[1]: http://www.ioplex.com/~miallen/errcmp.html




This bug report was last modified 7 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.