Changeset 481 for trunk/src/sh_extern.c
- Timestamp:
- Jul 18, 2015, 5:06:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_extern.c
r440 r481 305 305 */ 306 306 #if !defined(PDGBFILE) 307 sh_unix_closeall (3, task->com_fd, S L_TRUE); /* in child process */307 sh_unix_closeall (3, task->com_fd, S_TRUE); /* in child process */ 308 308 #endif 309 309 … … 423 423 char str1[128]; 424 424 int ival = pfd; 425 int n = 0;426 int m = 0;425 unsigned int n = 0; 426 unsigned int m = 0; 427 427 428 428 if (ival < 0) ival = -ival; … … 633 633 { 634 634 task->exit_status = WEXITSTATUS(task->exit_status); 635 if ((flag_err_debug == S L_TRUE) || (task->exit_status != 0))635 if ((flag_err_debug == S_TRUE) || (task->exit_status != 0)) 636 636 sl_snprintf(infomsg, sizeof(infomsg), 637 637 _("Subprocess exited normally with status %d"), … … 687 687 /*@+bufferoverflowhigh@*/ 688 688 status = task->exit_status; 689 if (flag_err_debug == S L_TRUE)689 if (flag_err_debug == S_TRUE) 690 690 { 691 691 sh_error_handle(SH_ERR_ALL, FIL__, __LINE__, task->exit_status, … … 867 867 } 868 868 869 int sh_ext_popen_init (sh_tas_t * task, c har * command, char * argv0, ...)869 int sh_ext_popen_init (sh_tas_t * task, const char * command, char * argv0, ...) 870 870 { 871 871 va_list vl; … … 956 956 * ifconfig | grep -1 lo | tail -n 1 | sed s/.*inet addr:\([0-9.]*\)\(.*\)/\1/ 957 957 */ 958 char * sh_ext_popen_str (c har * command)958 char * sh_ext_popen_str (const char * command) 959 959 { 960 960 sh_tas_t task;
Note:
See TracChangeset
for help on using the changeset viewer.