Update of /cvsroot/scsh/scsh-0.6/scsh
In directory usw-pr-cvs1:/tmp/cvs-serv14622
Modified Files:
syscalls1.c
Log Message:
Removed assignments to errno.
Index: syscalls1.c
===================================================================
RCS file: /cvsroot/scsh/scsh-0.6/scsh/syscalls1.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** syscalls1.c 2001/01/02 14:43:27 1.14
--- syscalls1.c 2001/01/09 10:26:52 1.15
***************
*** 113,127 ****
execve(s48_extract_string (prog), unix_argv, unix_env); /* Do it. */
!
if( env != S48_TRUE ) {
- e = errno;
Free(unix_env);
- errno = e;
}
- e = errno;
Free(unix_argv);
! errno = e;
! return s48_enter_fixnum(errno); // Don't raise an exception since
! // we're maybe just testing the path
}
--- 113,123 ----
execve(s48_extract_string (prog), unix_argv, unix_env); /* Do it. */
! e = errno;
if( env != S48_TRUE ) {
Free(unix_env);
}
Free(unix_argv);
! return s48_enter_fixnum(e); // Don't raise an exception since
! // we're maybe just testing the path
}
***************
*** 265,270 ****
{int e = errno;
Free(buf);
! errno = e,
! s48_raise_os_error(errno);}
}
--- 261,265 ----
{int e = errno;
Free(buf);
! s48_raise_os_error(e);}
}
|