changeset 2473:bb0c213e5885

[project @ 1996-11-06 04:34:55 by jwe]
author jwe
date Wed, 06 Nov 1996 04:35:48 +0000
parents 0c788e9b53b8
children b8c53143581b
files NEWS PROJECTS src/getpwent.cc src/syscalls.cc
diffstat 4 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS
+++ b/NEWS
@@ -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:
--- a/PROJECTS
+++ b/PROJECTS
@@ -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
--- a/src/getpwent.cc
+++ b/src/getpwent.cc
@@ -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.")
--- a/src/syscalls.cc
+++ b/src/syscalls.cc
@@ -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, ,