Changeset 248 for trunk/src/sh_hash.c
- Timestamp:
- Sep 21, 2009, 8:23:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r247 r248 1191 1191 if (fd == (-1)) 1192 1192 { 1193 if ( SL_ISERROR(fd = sl_open_read(file_path('D', 'R'), SL_YESPRIV))) 1193 if ( SL_ISERROR(fd = sl_open_read(FIL__, __LINE__, 1194 file_path('D', 'R'), SL_YESPRIV))) 1194 1195 { 1195 1196 TPT(( 0, FIL__, __LINE__, _("msg=<Error opening: %s>\n"), … … 1548 1549 if (pushdata_stdout == S_FALSE && pushdata_fd == -1) 1549 1550 { 1550 if ( SL_ISERROR(pushdata_fd = sl_open_write(file_path('D', 'W'), SL_YESPRIV))) 1551 if ( SL_ISERROR(pushdata_fd = sl_open_write(FIL__, __LINE__, 1552 file_path('D', 'W'), 1553 SL_YESPRIV))) 1551 1554 { 1552 1555 SH_FREE(fullpath); … … 1572 1575 SH_FREE(linkpath); 1573 1576 sh_error_handle((-1), FIL__, __LINE__, status, MSG_E_SUBGPATH, 1574 _("Failed to seek to end of baseline database"), _("sh_hash_pushdata_int"), 1577 _("Failed to seek to end of baseline database"), 1578 _("sh_hash_pushdata_int"), 1575 1579 file_path('D', 'W')); 1576 1580 aud_exit(FIL__, __LINE__, EXIT_FAILURE); … … 1583 1587 { 1584 1588 TPT((0, FIL__, __LINE__, _("msg=<Update.>\n"))) 1585 if ( SL_ISERROR(pushdata_fd = sl_open_rdwr(file_path('D', 'W'), SL_YESPRIV))){ 1589 if ( SL_ISERROR(pushdata_fd = sl_open_rdwr(FIL__, __LINE__, 1590 file_path('D', 'W'), 1591 SL_YESPRIV))){ 1586 1592 SH_FREE(fullpath); 1587 1593 SH_FREE(linkpath); … … 4032 4038 line = SH_ALLOC(MAX_PATH_STORE+2); 4033 4039 4034 if ( SL_ISERROR(fd = sl_open_read( db_file, SL_YESPRIV)))4040 if ( SL_ISERROR(fd = sl_open_read(FIL__, __LINE__, db_file, SL_YESPRIV))) 4035 4041 { 4036 4042 fprintf(stderr, _("ERROR: can't open %s for read (errnum = %ld)\n"),
Note:
See TracChangeset
for help on using the changeset viewer.