Searched refs:shell_name (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| H A D | host-darwin.cc | 94 char *shell_name; in segv_handler() local 97 shell_name = getenv ("SHELL"); in segv_handler() 98 if (shell_name != NULL) in segv_handler() 99 shell_name = strrchr (shell_name, '/'); in segv_handler() 100 if (shell_name != NULL) in segv_handler() 114 if (strcmp (shell_commands[i][0], shell_name + 1) == 0) in segv_handler()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
| H A D | host-darwin.c | 94 char *shell_name; in segv_handler() local 97 shell_name = getenv ("SHELL"); in segv_handler() 98 if (shell_name != NULL) in segv_handler() 99 shell_name = strrchr (shell_name, '/'); in segv_handler() 100 if (shell_name != NULL) in segv_handler() 114 if (strcmp (shell_commands[i][0], shell_name + 1) == 0) in segv_handler()
|
| /netbsd-src/external/gpl2/groff/dist/src/roff/groff/ |
| H A D | pipeline.c | 144 const char *shell_name; in system_shell_name() local 152 if ((shell_name = getenv("SHELL")) != NULL) in system_shell_name() 155 shell_name = sh; in system_shell_name() 156 else if ((shell_name = getenv("COMSPEC")) != NULL) in system_shell_name() 159 shell_name = cmd; in system_shell_name() 161 shell_name = command; in system_shell_name() 163 return sbasename(shell_name); in system_shell_name() 168 char *shell_name; in system_shell_dash_c() local 171 shell_name = system_shell_name(); in system_shell_dash_c() 174 if (strcasecmp(shell_name + strlen(shell_name) - strlen("sh"), "sh") == 0) in system_shell_dash_c() [all …]
|
| /netbsd-src/external/gpl2/gmake/dist/w32/subproc/ |
| H A D | sub_proc.c | 30 static char *make_command_line(char *shell_name, char *exec_path, char **argv); 416 char *shell_name = 0; in process_begin() local 483 shell_name = strrchr( buf, '/'); in process_begin() 484 if (shell_name) { in process_begin() 485 shell_name++; in process_begin() 487 shell_name = &buf[2];/* skipping "#!" */ in process_begin() 497 command_line = make_command_line( shell_name, exec_path, argv); in process_begin() 499 command_line = make_command_line( shell_name, file_info.szPathName, in process_begin() 517 if ((shell_name) || (file_not_found)) { in process_begin() 531 startInfo.lpTitle = shell_name ? shell_name : exec_path; in process_begin() [all …]
|