- Timestamp:
- Mar 29, 2010, 3:55:49 PM (16 years ago)
- Location:
- branches/eam_branches/20100225
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20100225
- Property svn:mergeinfo changed
-
branches/eam_branches/20100225/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/20091201/Ohana merged eligible /branches/eam_branches/largefiles.20100314/Ohana merged eligible /branches/pap_stack/Ohana merged eligible /trunk/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
branches/eam_branches/20100225/Ohana/src/opihi/lib.shell/gprint.c
r24028 r27517 305 305 if (stream[0].mode == GP_FILE) { 306 306 status = vfprintf (stream[0].file, format, argp); 307 fflush (stream[0].file); 307 308 if (status < 0) { 308 309 return (FALSE); … … 325 326 if (stream[0].mode == GP_FILE) { 326 327 fwrite (buffer, size, N, stream[0].file); 328 fflush (stream[0].file); 327 329 } else { 328 330 // XXX can we not use exising IOBuffer APIs here? … … 350 352 // there are two strerror_r implementations; choose the right one: 351 353 #if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) 352 errorMsg = strerror_r (myError, errorBuf, MAX_ERROR_LENGTH);353 #else354 354 strerror_r (myError, errorBuf, MAX_ERROR_LENGTH); 355 355 errorMsg = errorBuf; 356 #else 357 errorMsg = strerror_r (myError, errorBuf, MAX_ERROR_LENGTH); 356 358 #endif 357 359 … … 360 362 va_end (argp); 361 363 362 gprint v(dest, "%s\n", errorMsg);364 gprint (dest, "%s\n", errorMsg); 363 365 return TRUE; 364 366 }
Note:
See TracChangeset
for help on using the changeset viewer.
