aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-27 10:02:48 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-27 10:02:48 +0000
commit70060d25d23278f6b636a535edca4a0c4006decd (patch)
tree372a280d63bab86ec9ffddc76ec28b27a7a1b3ee /patches
parentedd580a088fe67f33036d3732f66f917b1c0a80b (diff)
downloadbusybox-70060d25d23278f6b636a535edca4a0c4006decd.tar.gz
s/fileno\(stdin\)/STDIN_FILENO/g
s/fileno\(stdout\)/STDOUT_FILENO/g
Diffstat (limited to 'patches')
-rw-r--r--patches/tftp_timeout_multicast.diff2
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);