From 70060d25d23278f6b636a535edca4a0c4006decd Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 27 Mar 2004 10:02:48 +0000 Subject: s/fileno\(stdin\)/STDIN_FILENO/g s/fileno\(stdout\)/STDOUT_FILENO/g --- patches/tftp_timeout_multicast.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patches') 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); -- cgit v1.2.3