[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mkdir implementation problem and question (under MSVC)
From: |
John W. Eaton |
Subject: |
mkdir implementation problem and question (under MSVC) |
Date: |
Wed, 6 Dec 2006 08:59:25 -0500 |
On 6-Dec-2006, address@hidden wrote:
| Currently, calling \"mkdir\" without any argument makes octave crash under
MSVC.
| This is due to the mkdir implementation, which refers to args(0) without
checking
| that nargin is > 0.
|
| The question is about the expected behavior:
| 1) is args(0) expected to succeed in all cases, even if args.length() == 0?
| 2) is mkdir implementation wrong and should be fixed?
I noticed and fixed this problem yesterday.
jwe