diff src/file-io.cc @ 11081:f9284142a060

avoid another use of ::fileno
author John W. Eaton <jwe@octave.org>
date Thu, 07 Oct 2010 02:00:05 -0400
parents 594adb99a25e
children 69b2f237060e
line wrap: on
line diff
--- a/src/file-io.cc
+++ b/src/file-io.cc
@@ -494,7 +494,7 @@
 
                   FILE *fptr = ::fopen (fname.c_str (), tmode.c_str ());
 
-                  int fd = ::fileno (fptr);
+                  int fd = fileno (fptr);
 
                   gzFile gzf = ::gzdopen (fd, tmode.c_str ());