# HG changeset patch # User jwe # Date 1045863722 0 # Node ID dfd47756dda7e2b88d12c01d898db26900731a1e # Parent ea4b8c35ac9d53e6b622aadcbb422d60b4fbe650 [project @ 2003-02-21 21:42:02 by jwe] diff -r ea4b8c35ac9d -r dfd47756dda7 configure.in --- a/configure.in Fri Feb 21 21:04:41 2003 +0000 +++ b/configure.in Fri Feb 21 21:42:02 2003 +0000 @@ -22,7 +22,7 @@ ### 02111-1307, USA. AC_INIT -AC_REVISION($Revision: 1.416 $) +AC_REVISION($Revision: 1.417 $) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -639,7 +639,7 @@ AC_ARG_ENABLE(rpath, [ --enable-rpath override the default link options for rpath; - e.g., --with-rpath='-rpath $(octlibdir)'], + e.g., --enable-rpath='-rpath $(octlibdir)'], [ if test "$enableval" = no; then use_rpath=false; else use_rpath=true diff -r ea4b8c35ac9d -r dfd47756dda7 src/ChangeLog --- a/src/ChangeLog Fri Feb 21 21:04:41 2003 +0000 +++ b/src/ChangeLog Fri Feb 21 21:42:02 2003 +0000 @@ -1,3 +1,8 @@ +2003-02-21 Paul Kienzle + + * file-io.cc (Fmkstemp): Use OCTAVE_LOCAL_BUFFER instead of using + std::auto_ptr directly. + 2003-02-21 John W. Eaton * ov.h, ov.cc (octave_value (long long int)): New constructor. diff -r ea4b8c35ac9d -r dfd47756dda7 src/file-io.cc --- a/src/file-io.cc Fri Feb 21 21:04:41 2003 +0000 +++ b/src/file-io.cc Fri Feb 21 21:42:02 2003 +0000 @@ -1613,8 +1613,8 @@ if (! error_state) { - std::auto_ptr tmp_auto_ptr (strsave (tmpl8.c_str ())); - char *tmp = tmp_auto_ptr.get (); + OCTAVE_LOCAL_BUFFER (char, tmp, tmpl8.size () + 1); + strcpy (tmp, tmpl8.c_str ()); int fd = mkstemp (tmp);