# HG changeset patch # User jwe # Date 847254948 0 # Node ID bb0c213e58855a34ebdefa8c5df8fa561588e062 # Parent 0c788e9b53b88a5cedbff56ff4a1c9cbf7cb5cf7 [project @ 1996-11-06 04:34:55 by jwe] diff -r 0c788e9b53b8 -r bb0c213e5885 NEWS --- a/NEWS Wed Nov 06 04:12:18 1996 +0000 +++ b/NEWS Wed Nov 06 04:35:48 1996 +0000 @@ -306,6 +306,8 @@ getpgrp -- return the process group id of the current process getpid -- return the process id of the current process getppid -- return the process id of the parent process + geteuid -- return the effective uid of the current process + getuid -- return the uid of the current process pipe -- create an interprocess channel * Other new functions: diff -r 0c788e9b53b8 -r bb0c213e5885 PROJECTS --- a/PROJECTS Wed Nov 06 04:12:18 1996 +0000 +++ b/PROJECTS Wed Nov 06 04:35:48 1996 +0000 @@ -388,19 +388,20 @@ Configuration and Installation: ------------------------------ - * Handle USE_READLINE. + * Handle USE_READLINE so that --enable-readline will work. * Make Octave as independent of the particular readline version as possible. + * Add an --enable-pathsearch option to configure to make it possible + to configure and run without kpathsea. + * Make configure take more defaults from the environment. * Should --enable-lite-kernel imply --enable-shared? * Make it possible to configure without readline. - * Make it possible to configure without kpathsea. - * Makefile changes: -- eliminate for loops -- define shell commands or eliminate them diff -r 0c788e9b53b8 -r bb0c213e5885 src/getpwent.cc --- a/src/getpwent.cc Wed Nov 06 04:12:18 1996 +0000 +++ b/src/getpwent.cc Wed Nov 06 04:35:48 1996 +0000 @@ -70,7 +70,7 @@ return retval; } -DEFUN_DLD (getpwent, , , +DEFUN_DLD (getpwent, args, , "getpwent ()\n\ \n\ Read an entry from the password-file stream, opening it if necessary.") @@ -152,7 +152,7 @@ return retval; } -DEFUN_DLD (setpwent, , , +DEFUN_DLD (setpwent, args, , "setpwent ()\n\ \n\ Rewind the password-file stream.") @@ -173,7 +173,7 @@ return retval; } -DEFUN_DLD (endpwent, , , +DEFUN_DLD (endpwent, args, , "endpwent ()\n\ \n\ Close the password-file stream.") diff -r 0c788e9b53b8 -r bb0c213e5885 src/syscalls.cc --- a/src/syscalls.cc Wed Nov 06 04:12:18 1996 +0000 +++ b/src/syscalls.cc Wed Nov 06 04:35:48 1996 +0000 @@ -309,7 +309,7 @@ return retval; } -DEFUN (geteuid, , , +DEFUN (geteuid, args, , "uid = geteuid (): return the effective user id of the current process") { double retval = -1.0; @@ -324,9 +324,11 @@ #else gripe_not_supported ("geteuid"); #endif + + return retval; } -DEFUN (getuid, , , +DEFUN (getuid, args, , "uid = getuid (): return the real user id of the current process") { double retval = -1.0; @@ -341,6 +343,8 @@ #else gripe_not_supported ("getuid"); #endif + + return retval; } DEFUN (lstat, args, ,