Changeset 2089 for trunk/src/libctests/glibc/stdio-common/test-vfprintf.c
- Timestamp:
- Jun 27, 2005, 5:05:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libctests/glibc/stdio-common/test-vfprintf.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2088 r2089 20 20 21 21 #include <locale.h> 22 #ifdef HAVE_MCHECK_H 22 23 #include <mcheck.h> 24 #endif 23 25 #include <stdint.h> 24 26 #include <stdio.h> … … 46 48 int fd; 47 49 50 #ifdef HAVE_MCHECK_H 48 51 mtrace (); 52 #endif 49 53 50 54 strcpy (buf, "/tmp/test-vfprintfXXXXXX"); … … 55 59 exit (1); 56 60 } 57 unlink (buf);58 61 59 62 for (i = 0; i < nlocs; ++i) … … 75 78 exit (1); 76 79 } 77 78 80 if (ftruncate (fd2, 0) != 0) 79 81 { … … 120 122 } 121 123 124 #ifdef __EMX__ 122 125 close (fd); 123 126 unlink (buf); 127 #else 128 unlink (buf); 129 close (fd); 130 #endif 124 131 return res; 125 132 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.