forked from Imagelibrary/rtems
2001-01-26 Joel Sherrill <joel@OARcorp.com>
* libc/chroot.c: Fixed naming problems. Names were changed when the code this depends on was merged.
This commit is contained in:
@@ -33,10 +33,10 @@ int chroot(
|
||||
if (rtems_current_user_env == &rtems_global_user_env)
|
||||
set_errno_and_return_minus_one( ENOTSUP );
|
||||
|
||||
loc = rtems_filesystem_root;i /* save the value */
|
||||
loc = rtems_filesystem_root; /* save the value */
|
||||
|
||||
/* if has been already changed */
|
||||
rtems_filesystem_root = rtems_global_user_env.filesystem_root;
|
||||
rtems_filesystem_root = rtems_global_user_env.root_directory;
|
||||
|
||||
result = chdir(pathname);
|
||||
if (result) {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
|
||||
2001-01-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libc/chroot.c: Fixed naming problems. Names were changed
|
||||
when the code this depends on was merged.
|
||||
|
||||
2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es>
|
||||
|
||||
* Alternate email is correo@fernando-ruiz.com
|
||||
|
||||
@@ -33,10 +33,10 @@ int chroot(
|
||||
if (rtems_current_user_env == &rtems_global_user_env)
|
||||
set_errno_and_return_minus_one( ENOTSUP );
|
||||
|
||||
loc = rtems_filesystem_root;i /* save the value */
|
||||
loc = rtems_filesystem_root; /* save the value */
|
||||
|
||||
/* if has been already changed */
|
||||
rtems_filesystem_root = rtems_global_user_env.filesystem_root;
|
||||
rtems_filesystem_root = rtems_global_user_env.root_directory;
|
||||
|
||||
result = chdir(pathname);
|
||||
if (result) {
|
||||
|
||||
Reference in New Issue
Block a user