[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug report
From: |
Delta |
Subject: |
Bug report |
Date: |
Tue, 28 Jan 2003 14:42:57 -0500 |
Hi,
I think the following two lines probably contain a bug (common.c line
325)
m = write_all (fd ? fd : 0, buf, (size_t)n);
log_annoying ("write_all (%d, %p, %d) = %d", fd ? fd : 1, buf, n,
m);
fd ? fd : 0 is pretty weird, since it is equivalent to (fd) alone.
Also, you log fd ? fd : 1, which is not the value passed to write_all.
Good day,
Laurent Birtz
[Prev in Thread] |
Current Thread |
[Next in Thread] |