[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in mkdir: Misleading Error Message
From: |
Dmytro Taranovsky |
Subject: |
Re: Bug in mkdir: Misleading Error Message |
Date: |
Tue, 07 Sep 2004 14:22:34 -0400 |
Paul Eggert wrote:
> Unfortunately nicening up the messages wouldn't be that easy, as the
> most natural implementation of mkdir is to use the mkdir system call
> and to use perror when it fails.
As far as I know, mkdir prints "No such file or directory" only when the
parent directory does not exist, so it may be possible to simply replace
the string "No such file or directory" with, say, "Parent directory does
not exist" in mkdir.
Dmytro Taranovsky