# HG changeset patch # User jwe # Date 832877147 0 # Node ID dafbde8087e6c6b7ac7f899fa56b59d22efe76d3 # Parent 1300df4a33d6ccdfe8f7451e14261bbe3dddd2af [project @ 1996-05-23 18:44:40 by jwe] diff -r 1300df4a33d6 -r dafbde8087e6 src/syscalls.cc --- a/src/syscalls.cc Thu May 23 06:49:32 1996 +0000 +++ b/src/syscalls.cc Thu May 23 18:45:47 1996 +0000 @@ -313,7 +313,7 @@ link, returns information about the link itself, not the file that it\n\ points to.") { - octave_value retval; + octave_value_list retval; if (args.length () == 1) { @@ -323,6 +323,7 @@ { file_stat fs (fname, false); + if (fs) { retval(2) = string (); retval(1) = 0.0;