# HG changeset patch # User jwe # Date 862898697 0 # Node ID 2e1757f57ce6b595780a4bc404a4dd1f50e04775 # Parent 9d26524e286988f1de663449695b35c367309ff4 [project @ 1997-05-06 06:03:49 by jwe] diff --git a/NEWS b/NEWS --- a/NEWS +++ b/NEWS @@ -1,6 +1,12 @@ Summary of changes since version 2.0.5: -------------------------------------- + * tmpnam now takes two optional arguments, DIR, and PREFIX. For + example, tmpnam ("/foo", "bar-") returns a file name like + "/foo/bar-10773baa". If DIR is omitted or empty, the value of the + environment variable TMPDIR, or /tmp is used. If PREFIX is + omitted, "oct-" is used. + * The built-in variable PWD has been removed. If you need to get the value of the current working directory, use the pwd() function instead. diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,14 @@ +Tue May 6 00:52:02 1997 John W. Eaton + + * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. + Handle errors and missing functions consistently. + + * oct-group.h, oct-group.cc: New files. + + * oct-passwd.cc: Handle errors and missing functions consistently. + + * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. + Mon May 5 17:53:01 1997 John W. Eaton * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. diff --git a/liboctave/Makefile.in b/liboctave/Makefile.in --- a/liboctave/Makefile.in +++ b/liboctave/Makefile.in @@ -47,8 +47,8 @@ data-conv.h dir-ops.h file-ops.h file-stat.h getopt.h \ glob-match.h idx-vector.h lo-ieee.h lo-mappers.h lo-sysdep.h \ lo-utils.h mach-info.h oct-alloc.h oct-cmplx.h oct-env.h \ - oct-math.h oct-group.h oct-passwd.h pathsearch.h prog-args.h \ - statdefs.h str-vec.h sun-utils.h sysdir.h \ + oct-math.h oct-group.h oct-passwd.h oct-syscalls.h pathsearch.h \ + prog-args.h statdefs.h str-vec.h sun-utils.h sysdir.h \ $(MATRIX_INC) \ $(MX_OP_INC) @@ -81,8 +81,9 @@ file-ops.cc file-stat.cc filemode.c gamma.c getopt.c getopt1.c \ glob-match.cc idx-vector.cc lgamma.c lo-ieee.cc lo-mappers.cc \ lo-sysdep.cc lo-utils.cc mach-info.cc mkdir.c oct-alloc.cc \ - oct-env.cc oct-group.cc oct-passwd.cc pathsearch.cc \ - prog-args.cc rename.c rmdir.c str-vec.cc tempname.c tempnam.c \ + oct-env.cc oct-group.cc oct-passwd.cc oct-syscalls.cc \ + pathsearch.cc prog-args.cc rename.c rmdir.c str-vec.cc \ + tempname.c tempnam.c \ $(TEMPLATE_SRC) \ $(TI_SRC) \ $(MATRIX_SRC) \ diff --git a/liboctave/oct-env.cc b/liboctave/oct-env.cc --- a/liboctave/oct-env.cc +++ b/liboctave/oct-env.cc @@ -40,7 +40,6 @@ #include #endif -#include #include #ifdef HAVE_UNISTD_H