On Tue, 2013 Oct 15 20:16-0700, Paul Eggert wrote:
> These all look fairly low priority, but you can perhaps shed light on
> why (say) test-mkfifo is failing by running the test-mkfifo command
> under a debugger.

Let's see...

#4  0x4000000000003cec in test_mkfifo (func=0x4000000000002c88
<.opd+0xe0>, 
    print=1 '\001') at ../../gltests/test-mkfifo.h:46
46        ASSERT (errno == EEXIST || errno == EINVAL);
(gdb) up
#5  0x4000000000004678 in main () at ../../gltests/test-mkfifo.c:46
46        return test_mkfifo (mkfifo, true);

The value of errno:

(gdb) p errno   
$1 = 21

Which, according to /usr/include/sys/errno.h, is

#define EISDIR          21      /* Is a directory               */

Oddly enough, this is not a documented return value for errno in the
mkfifo(3) man page.

(I'm more than happy to investigate this kind of thing; it's just
helpful for me to know what I should focus on first.)


--Daniel


-- 
Daniel Richard G. || sk...@iskunk.org
My ASCII-art .sig got a bad case of Times New Roman.

Reply via email to