Searched refs:shellp (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnet/
H A Dcommands.c1296 char *shellp, *shellname;
1298 shellp = getenv("SHELL");
1299 if (shellp == NULL)
1300 shellp = "/bin/sh";
1301 if ((shellname = strrchr(shellp, '/')) == 0)
1302 shellname = shellp;
1306 execl(shellp, shellname, "-c", &saveline[1], NULL);
1308 execl(shellp, shellname, NULL);
1290 char *shellp, *shellname; local
/macosx-10.10.1/remote_cmds-47/telnet.tproj/
H A Dcommands.c1373 const char *shellp, *shellname;
1375 shellp = getenv("SHELL");
1376 if (shellp == NULL)
1377 shellp = "/bin/sh";
1378 if ((shellname = strrchr(shellp, '/')) == 0)
1379 shellname = shellp;
1383 execl(shellp, shellname, "-c", &saveline[1], (char *)0);
1385 execl(shellp, shellname, (char *)0);
1367 const char *shellp, *shellname; local

Completed in 98 milliseconds