help-octave
[Top][All Lists]
Advanced

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

mkdir return status changed from 2.7.2 to 2.9.4


From: Jean-Francois Cardoso
Subject: mkdir return status changed from 2.7.2 to 2.9.4
Date: Mon, 16 Jan 2006 19:47:59 +0100


The meaning of the return code of function mkdir has changed from
2.7.2 to 2.9.4 (see the help texts below).

All my brilliant successes (at creating dirs) of the past are now
reported as miserable failures.

Is this an unintended move, to be reversed ?

Otherwise, is there a decent way to write code which would run under
both 2.1.xx and 2.9.xx ?

Cheers, JF


================================================================

GNU Octave, version 2.1.72 (i686-pc-linux-gnu).
octave:1> help mkdir
mkdir is a built-in function

 -- Built-in Function: [ERR, MSG] = mkdir (DIR)
     Create a directory named DIR.

     If successful, ERR is 0 and MSG is an empty string.  Otherwise,
     ERR is nonzero and MSG contains a system-dependent error message.

================================================================

GNU Octave, version 2.9.4 (i686-pc-linux-gnu).
octave:1> help mkdir
mkdir is a built-in function

 -- Built-in Function: [STATUS, MSG, MSGID] = mkdir (DIR)
     Create a directory named DIR.

     If successful, STATUS is 1, with MSG and MSGID empty character
     strings.  Otherwise, STATUS is 0, MSG contains a system-dependent
     error message, and MSGID contains a unique message identifier.
     See also: rmdir.

================================================================



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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