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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #45816] canonicalize_file_name() changed behavior between 3.8.2 and 4.0.0 on windows
Date: Thu, 03 Sep 2015 19:20:49 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1

Follow-up Comment #19, bug #45816 (project octave):

@Rik:
Your patch works fine, both on Linux and Windows. On Windows it neatly
converts forward slashes in its argument to backslashes.
I have no opinion placement of #include.

@comment #16:
I think what counts is cygwin's "native" filesep as reported by Octave, i.e.,
what does "filesep" return and what fileseps does e.g., "pwd" return?
(I don't cygwin anymore since several years so I wouldn't know)

If it were indeed '/' I agree this patch shouldn't work on cygwin.

Perusing the cygwin docs I get no clear answer; cygwin prefers '/' but does
accept '\' and emulates some dumb file mode then (case-insensitive, FAT-like
permissions etc).

    _______________________________________________________

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]