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

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

[Octave-bug-tracker] [bug #30650] Feature Request: mkdir should create h


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #30650] Feature Request: mkdir should create hierarchy
Date: Thu, 24 May 2012 18:36:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4

Update of bug #30650 (project octave):

                  Status:                   Fixed => Postponed              
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #7:

I reopened this report in response to Rik's comments.

I also tried fixing the problems, but I just don't understand how the gnulib
mkdir-p thing is supposed to work, and I don't have time to work on this now.

I've attached my attempt below.  This seems to solve the umask problem in some
cases, but not all.  With my changes, it fails for things like

 mkdir ("/tmp/foo/bar")

if only /tmp exists.

I recommend looking at the coreutils mkdir program to see how this gnulib
module is supposed to be used.

Unfortunately, the gnulib code seems to be written with the idea that printing
error messages is ok.  Or maybe there is some way to disable that with the
gnulib error module that I don't know about.  We need to have Octave in
control of printing error messages, not gnulib.


(file #25916)
    _______________________________________________________

Additional Item Attachment:

File name: mkdir-p-diffs.txt              Size:3 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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