bug fix for empty files in /proc/<n>
Chris January
chris@atomice.net
Sun Jun 2 04:02:00 GMT 2002
This patch fixes the empty files bug that cropped up a little while back. I
don't plan on doing any more patches except bug fixes until 1.3.11 is
released because I don't have the time.
Regards
Chris
2002-02-26 Christopher January <chris@atomice.net>
* fhandler_process.cc (fhandler_process::open): Set fileid.
Index: fhandler_process.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/fhandler_process.cc,v
retrieving revision 1.11
diff -u -p -b -B -r1.11 fhandler_process.cc
--- fhandler_process.cc 2 Jun 2002 06:07:00 -0000 1.11
+++ fhandler_process.cc 2 Jun 2002 10:58:41 -0000
@@ -226,6 +226,7 @@ fhandler_process::open (path_conv *pc, i
goto out;
}
+ fileid = process_file_no;
fill_filebuf (p);
if (flags & O_APPEND)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proc.patch.5
Type: application/octet-stream
Size: 492 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020602/a91ca030/attachment.obj>
More information about the Cygwin-patches
mailing list