Changeset 153 for trunk/src/samhain.c
- Timestamp:
- Jan 11, 2008, 11:47:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/samhain.c
r149 r153 1391 1391 my_argv[0] = argv[0]; ++my_argc; 1392 1392 command_line[0] = '\0'; 1393 (void*) fgets (command_line, sizeof(command_line), stdin); 1394 command_line[sizeof(command_line)-1] = '\0'; 1393 if (NULL != fgets (command_line, sizeof(command_line), stdin)) 1394 command_line[sizeof(command_line)-1] = '\0'; 1395 1395 1396 do { 1396 1397 #if defined(HAVE_PTHREAD) && defined (_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_STRTOK_R) … … 1961 1962 (void) sh_dirs_chk (1); 1962 1963 #ifndef SH_PROFILE 1963 (void) chdir ("/");1964 (void) retry_aud_chdir (FIL__, __LINE__, "/"); 1964 1965 #endif 1965 1966 } … … 1968 1969 (void) sh_dirs_chk (2); 1969 1970 #ifndef SH_PROFILE 1970 (void) chdir ("/");1971 (void) retry_aud_chdir (FIL__, __LINE__, "/"); 1971 1972 #endif 1972 1973 }
Note:
See TracChangeset
for help on using the changeset viewer.