delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/02/20/05:13:53

Date: Sun, 20 Feb 2000 11:59:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT bigfoot DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: fileutils mkdir gotcha
In-Reply-To: <200002192304.SAA30884@delorie.com>
Message-ID: <Pine.SUN.3.91.1000220115846.25009t@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 19 Feb 2000, Mark E. wrote:

> I would suggest modifying 'mkdir.c' check the result of _put_path for 
> '/dev' and '/dev/env' and set errno to EEXIST (and return -1) for these 
> two cases.

I think /dev should be left alone.

> This would in turn require a small change to _put_path2 to  
> prevent '/dev/env' from turning into 'env' like it currently does.

Please send in a patch for preventing /dev/env from being created.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019