octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36677] canonicalize_file_name: inconsistent b


From: Rik
Subject: [Octave-bug-tracker] [bug #36677] canonicalize_file_name: inconsistent behavior for non-existing files
Date: Fri, 29 Jun 2012 19:49:20 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1

Update of bug #36677 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Philip,

You have indeed found an inconsistency.  Check the source code for file-ops.cc
in the liboctave directory.  The code has a number of #idefs.  We first try to
use the gnulib module, then we try to use the RESOLVEPATH module, then we look
to see whether were on a Win32 platform.

For your specific application, would make_absolute_filename() work?  It
appears to work correctly for a non-existent file in the pwd, in a relative
directory location '../', and in an absolute location '/tmp/'.  The testing
was done on a Linux platform.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36677>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]