diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-27 13:02:48 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-27 13:02:48 +0300 |
commit | 70060d25d23278f6b636a535edca4a0c4006decd (patch) | |
tree | 372a280d63bab86ec9ffddc76ec28b27a7a1b3ee /patches | |
parent | edd580a088fe67f33036d3732f66f917b1c0a80b (diff) |
s/fileno\(stdin\)/STDIN_FILENO/g
s/fileno\(stdout\)/STDOUT_FILENO/g
Diffstat (limited to 'patches')
-rw-r--r-- | patches/tftp_timeout_multicast.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/tftp_timeout_multicast.diff b/patches/tftp_timeout_multicast.diff index 0f09d4a04..ca431fc60 100644 --- a/patches/tftp_timeout_multicast.diff +++ b/patches/tftp_timeout_multicast.diff @@ -1031,7 +1031,7 @@ diff -u -r1.25 tftp.c + result = tftp(cmd, host, remotefile, fd, port, &option); #ifdef CONFIG_FEATURE_CLEAN_UP - if (!(fd == fileno(stdout) || fd == fileno(stdin))) { + if (!(fd == STDOUT_FILENO || fd == STDIN_FILENO)) { @@ -582,3 +980,18 @@ #endif return(result); |