"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/sulogin.c" between
sysvinit-2.98.tar.xz and sysvinit-2.99.tar.xz

About: SysVinit - Linux System V style init programs.

sulogin.c  (sysvinit-2.98.tar.xz):sulogin.c  (sysvinit-2.99.tar.xz)
skipping to change at line 792 skipping to change at line 792
free(level); free(level);
} }
#endif #endif
execl(sushell, shell, NULL); execl(sushell, shell, NULL);
perror(sushell); perror(sushell);
setenv("SHELL", BINSH, 1); setenv("SHELL", BINSH, 1);
execl(BINSH, profile ? "-sh" : "sh", NULL); execl(BINSH, profile ? "-sh" : "sh", NULL);
perror(BINSH); perror(BINSH);
/* Fall back to staticly linked shell if both the users shell /* Fall back to statically linked shell if both the users shell
and /bin/sh failed to execute. */ and /bin/sh failed to execute. */
setenv("SHELL", STATICSH, 1); setenv("SHELL", STATICSH, 1);
execl(STATICSH, STATICSH, NULL); execl(STATICSH, STATICSH, NULL);
perror(STATICSH); perror(STATICSH);
} }
#ifdef __linux__ #ifdef __linux__
/* /*
* Make C library standard calls like ttyname(3) work. * Make C library standard calls like ttyname(3) work.
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)