Custom Query (245 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 245)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#53 fixed libc: freopen("missing",,) causes panic bird bird
Description

in _fopen there are at least two fialure paths which are locking and unlocking the stream, this won't work well for freopen.

#54 fixed libc: fchdir(open('.', O_RDONLY)) may corrupt path resolving bird bird
Description

dirOpen isn't initializing the fInUnixTree member, and a fchdir operation may then load garbage into the global flag and screw things up really badly.

#55 fixed emxomfld doesn't delete temporary files bird Yuri Dario
Description

when arg_init() is called, the temporary files is not deleted, so at program exit only the last temporary files is effectively erased.

Index: emxomfld.c
===================================================================
--- emxomfld.c	(revision 2508)
+++ emxomfld.c	(working copy)
@@ -1160,7 +1163,11 @@
 
 static void arg_init (int rsp)
 {
-  response_fname[0] = '\0';
+  if (response_fname[0] != '\0')
+    {
+      remove (response_fname);
+      response_fname[0] = '\0';
+    }
   command_line[0] = '\0';
   line_len = 0;
   response_flag = rsp;

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.