Changeset 153 for trunk/src/sh_hash.c
- Timestamp:
- Jan 11, 2008, 11:47:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r149 r153 459 459 460 460 unlock_and_return: 461 ; /* 'label at end of compound statement */ 461 462 SH_MUTEX_UNLOCK(mutex_hash); 462 463 return retval; … … 1349 1350 1350 1351 unlock_and_return: 1352 ; /* 'label at end of compound statement */ 1351 1353 SH_MUTEX_UNLOCK(mutex_hash); 1352 1354 SL_RET0(_("sh_hash_init")); … … 1377 1379 1378 1380 unlock_and_exit: 1381 ; /* 'label at end of compound statement */ 1379 1382 SH_MUTEX_UNLOCK(mutex_hash); 1380 1383 SL_RET0(_("sh_hash_hashdelete")); … … 1792 1795 sl_write_line_fast (pushdata_fd, attr_string, sl_strlen(attr_string)); 1793 1796 } else { 1794 fwrite (&p, sizeof(sh_filestore_t), 1, stdout); 1795 printf ("%s\n", fullpath); 1796 printf ("%s\n", linkpath); 1797 if (attr_string) 1798 printf ("%s\n", attr_string); 1797 if (fwrite (&p, sizeof(sh_filestore_t), 1, stdout)) 1798 { 1799 printf ("%s\n", fullpath); 1800 printf ("%s\n", linkpath); 1801 if (attr_string) 1802 printf ("%s\n", attr_string); 1803 } 1804 else 1805 { 1806 perror(_("Error writing database")); 1807 aud_exit (FIL__, __LINE__, EXIT_FAILURE); 1808 } 1799 1809 } 1800 1810 … … 2728 2738 2729 2739 char log_policy[32]; 2730 int log_severity;2740 volatile int log_severity; 2731 2741 char hashbuf[KEYBUF_SIZE]; 2732 2742 … … 3504 3514 3505 3515 unlock_and_return: 3506 3516 ; /* 'label at end of compound statement */ 3507 3517 SH_MUTEX_UNLOCK(mutex_hash); 3508 3518 SL_RETURN(retval, _("sh_hash_compdata"));
Note:
See TracChangeset
for help on using the changeset viewer.