- Timestamp:
- Jun 16, 2010, 10:28:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_extern.c
r275 r289 132 132 133 133 /* Linux, HP-UX and FreeBSD will happily accept envp = argp = NULL 134 * (newer Linuxes (gcc 4.4.4) warn on argp == NULL, but accept it, 135 * as reported by T. Luettgert) 134 136 * Solaris (and probably some other Unices) 135 137 * needs a valid *envp[] with envp[0] = NULL; … … 420 422 do { 421 423 val_return = execve (pname, 422 (task->argc == 0) ? NULL: task->argv,424 (task->argc == 0) ? argp : task->argv, 423 425 (task->envc == 0) ? NULL : task->envv 424 426 );
Note:
See TracChangeset
for help on using the changeset viewer.