mkdir implementation problem and question (under MSVC)
From:
michael . goffioul
Subject:
mkdir implementation problem and question (under MSVC)
Date:
Wed, 06 Dec 2006 11:37:16 +0100
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?