Newlib: Added enviroment emulation via the file /sys/settings/system.env
git-svn-id: svn://kolibrios.org@9959 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -73,7 +73,7 @@ _DEFUN (_findenv, (name, offset),
|
||||
register _CONST char *name _AND
|
||||
int *offset)
|
||||
{
|
||||
return NULL; //_findenv_r (_REENT, name, offset);
|
||||
return _findenv_r (_REENT, name, offset);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -86,8 +86,7 @@ _DEFUN (getenv, (name),
|
||||
_CONST char *name)
|
||||
{
|
||||
int offset;
|
||||
|
||||
return NULL; //_findenv_r (_REENT, name, &offset);
|
||||
return _findenv_r (_REENT, name, &offset);
|
||||
}
|
||||
|
||||
#endif /* !_REENT_ONLY */
|
||||
|
Reference in New Issue
Block a user