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

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

[Octave-bug-tracker] [bug #45816] canonicalize_file_name() changed behav


From: Rik
Subject: [Octave-bug-tracker] [bug #45816] canonicalize_file_name() changed behavior between 3.8.2 and 4.0.0 on windows
Date: Sun, 30 Aug 2015 22:36:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

Update of bug #45816 (project octave):

                 Summary: canonicalize_file_name() changed behavoir between
3.8.2 and 4.0.0 on windows => canonicalize_file_name() changed behavior
between 3.8.2 and 4.0.0 on windows

    _______________________________________________________

Follow-up Comment #3:

Attached is canonicalize.c which I extracted from libgnu.  Everywhere in the
code it seems to append '/' when it has to put in a file separator.  There
does not seem to be any ifdef based on platform.  An example is line 205


if (!ISSLASH (dest[-1]))
  *dest++ = '/';


This still feels like an upstream bug, but with gdb someone should be able to
step through the code and see what is happening.


(file #34770)
    _______________________________________________________

Additional Item Attachment:

File name: canonicalize.c                 Size:10 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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