Changeset 2514 for branches/libc-0.6
- Timestamp:
- Feb 3, 2006, 10:51:48 PM (20 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/ChangeLog.LIBC
r2513 r2514 4 4 5 5 2006-02-03: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 - emxomfld: 7 o #20: use mkstemp + close instead of mktemp for the response file. 6 8 - ld: 7 9 o #20: use make_temp_file instead of mktemp. This involved including -
branches/libc-0.6/src/emx/src/emxomf/emxomfld.c
r2494 r2514 349 349 if (response_file == NULL) 350 350 { 351 int fd; 351 352 352 353 /* Complain if we are not allowed to use a response … … 363 364 364 365 strcpy (response_fname, "ldXXXXXX"); 365 if (mktemp (response_fname) == NULL) 366 fd = mkstemp (response_fname); 367 if (fd < 0) 366 368 { 367 369 perror ("emxomfld"); 368 370 exit (2); 369 371 } 372 close(fd); 370 373 response_file = fopen (response_fname, "wt"); 371 374 if (response_file == NULL)
Note:
See TracChangeset
for help on using the changeset viewer.