Vodz, last_patch_86

This commit is contained in:
Glenn L McGrath
2003-05-26 14:07:50 +00:00
parent ddfe18df75
commit 393183dccc
17 changed files with 121 additions and 115 deletions

View File

@@ -45,13 +45,13 @@
static void xsetenv ( const char *key, const char *value )
{
if ( setenv ( key, value, 1 ))
bb_error_msg_and_die ( "out of memory" );
bb_error_msg_and_die (bb_msg_memory_exhausted);
}
void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw )
{
if ( loginshell ) {
char *term;
const char *term;
/* Change the current working directory to be the home directory
* of the user. It is a fatal error for this process to be unable