You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/03/03 10:29:36 UTC

[Bug 56149] Ant cannot parse directory containing a named pipe

https://issues.apache.org/bugzilla/show_bug.cgi?id=56149

--- Comment #2 from Fabrice <fs...@bottomline.com> ---
Hello,

Thanks for your answer.

java.io.File's isFile and isDirectory both return false. If I can provide
anything more, don't hesitate to ask.

In the sample, we can see two calls to openat : 
the first one, on /stelink/steprt/server/exec/srvaig.exe.ORIGINAL, returns 34,
which is a valid return value for openat (any value above 0 is OK). No problem
here.

The second one, /stelink/steprt/server/exec/ISH.pipe.0.1100.11100, which never
returns : it only shows (sleeping...)

As far as my understanding of the pipe is correct, this is a normal behavior as
there is a program that is listening on this pipe : the open of the pipe
"connects" to this program, waiting for a response that never comes.

The same call of "truss" on the "ls" command -- which does not reveal the same
problem -- result in the following 5 calls : 
lstat64("./ISH.pipe.0.1100.11100", 0xFFBFA420)  = 0
pathconf("./ISH.pipe.0.1100.11100", 20)         = 0
acl("./ISH.pipe.0.1100.11100", GETACLCNT, 0, 0x00000000) = 4
stat64("./ISH.pipe.0.1100.11100", 0xFFBF9228)   = 0
acl("./ISH.pipe.0.1100.11100", GETACL, 4, 0x000316D8) = 4

There is no open of the file, just some "stat" calls, which look to the file
but do not try to open it.

If I'm unclear or if I can provide some more help, feel free to ask.

Best regards,
Fabrice

-- 
You are receiving this mail because:
You are the assignee for the bug.