Ignore:
Timestamp:
Nov 9, 2005 3:37:19 PM (19 years ago)
Author:
bennylp
Message:

Rework pjlib++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjlib/src/pj/file_io_ansi.c

    r18 r36  
    6868    written = fwrite(data, 1, *size, (FILE*)fd); 
    6969    if (ferror((FILE*)fd)) { 
     70        *size = -1; 
    7071        return PJ_RETURN_OS_ERROR(errno); 
    7172    } 
     
    8485    bytes = fread(data, 1, *size, (FILE*)fd); 
    8586    if (ferror((FILE*)fd)) { 
     87        *size = -1; 
    8688        return PJ_RETURN_OS_ERROR(errno); 
    8789    } 
Note: See TracChangeset for help on using the changeset viewer.