mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* problems in kernel 2.4.20  stat() seems to return always size zero for any fifo (named pipe)
@ 2003-03-06 18:22 jds
  2003-03-06 19:21 ` Richard B. Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: jds @ 2003-03-06 18:22 UTC (permalink / raw)
  To: linux-kernel


 Hi:

I have a problem using stat() with kernel 2.4.20
The size of ANY fifo is always 0.
There is no backward compatibility.
Probably it is a kernel bug in this particular version.
The problem shows up when using the ls, stat commands.

How reproducible:
Always

Steps to Reproduce:
1. mkfifo xx
2. cat > xx &
3. cat < xx
4. ^Z
5. echo "abcd" > xx


Actual Results:  prw-rw-r--    1 kostadin kostadin        0 Feb 21 13:54 xx


Expected Results:  prw-rw-r--    1 kostadin kostadin        5 Feb 21 13:54 xx

In Kernel 2.4.18-X the RedHat work perfect, e inclusive in 2.4.20-X the Redhat
  beta 8.0.94

Helpme please.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-07 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-06 18:22 problems in kernel 2.4.20 stat() seems to return always size zero for any fifo (named pipe) jds
2003-03-06 19:21 ` Richard B. Johnson
2003-03-07 18:58   ` jds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®