Mercurial > hg > octave-nkf
changeset 6273:de81db175325
[project @ 2007-02-06 18:55:23 by jwe]
author | jwe |
---|---|
date | Tue, 06 Feb 2007 18:55:23 +0000 |
parents | a1f3d3b7ee5c |
children | d42abdfcb8e9 |
files | liboctave/ChangeLog liboctave/file-ops.cc scripts/ChangeLog scripts/plot/__uiobject_draw_axes__.m scripts/sparse/gplot.m |
diffstat | 5 files changed, 15 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,8 @@ +2007-02-06 John W. Eaton <jwe@octave.org> + + * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: + Don't delete value returned from realpath. + 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> * file-ops.cc (file_ops::canonicalize_file_name):
--- a/liboctave/file-ops.cc +++ b/liboctave/file-ops.cc @@ -496,13 +496,8 @@ OCTAVE_LOCAL_BUFFER (char, buf, PATH_MAX); - char *tmp = ::realpath (name.c_str (), buf); - - if (tmp) - { - retval = tmp; - ::free (tmp); - } + if (::realpath (name.c_str (), buf)) + retval = buf; #else
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2007-02-06 John W. Eaton <jwe@octave.org> + + * plot/__uiobject_draw_axes__.m: Set pt to 0 if marker is ".". + * sparse/gplot.m: Use line style - instead of 1. + 2007-02-05 Rafael Laboissiere <rafael@debian.org> * plot/print.m: Avoid error message from cellidx.
--- a/scripts/plot/__uiobject_draw_axes__.m +++ b/scripts/plot/__uiobject_draw_axes__.m @@ -712,7 +712,7 @@ case "*" pt = "3"; case "." - pt = "dots"; + pt = "0"; case "x" pt = "2"; case {"square", "s"} @@ -762,6 +762,6 @@ fputs (plot_stream, " default"); endif - fputs (plot_stream, "\n;"); + fputs (plot_stream, ";\n"); endfunction