Changeset 248 for trunk/src/sh_err_log.c
- Timestamp:
- Sep 21, 2009, 8:23:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_err_log.c
r212 r248 69 69 /* open the file, then check it 70 70 */ 71 if ( SL_ISERROR(fd = sl_open_read ( path, SL_NOPRIV)))71 if ( SL_ISERROR(fd = sl_open_read (FIL__, __LINE__, path, SL_NOPRIV))) 72 72 { 73 73 fprintf(stderr, _("Could not open file <%s>\n"), path); … … 163 163 } 164 164 165 if ( SL_ISERROR(fd = sl_open_read ( s, SL_NOPRIV)) )165 if ( SL_ISERROR(fd = sl_open_read (FIL__, __LINE__, s, SL_NOPRIV)) ) 166 166 { 167 167 fprintf(stderr, … … 540 540 if (status == 0) 541 541 { 542 fd = sl_open_write ( logfile, SL_YESPRIV);542 fd = sl_open_write (FIL__, __LINE__, logfile, SL_YESPRIV); 543 543 if (SL_ISERROR(fd)) 544 544 { … … 761 761 if (!sl_ok_adds(status, (2*KEY_LEN)) || !sl_ok_adds((2*KEY_LEN + status),32)) 762 762 { 763 sl_close(fd); 763 764 SL_RETURN ((-1), _("sh_log_file")); 764 765 }
Note:
See TracChangeset
for help on using the changeset viewer.