delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/19/02:54:01

Message-ID: <3924D74A.352A36A6@softhome.net>
Date: Fri, 19 May 2000 08:55:22 +0300
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.72 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: law AT cygnus DOT com
CC: gcc-patches AT gcc DOT gnu DOT org, DJGPP Workers <djgpp-workers AT delorie DOT com>
Subject: Re: Fixproto fix
References: <636 DOT 958710930 AT upchuck>
Reply-To: djgpp-workers AT delorie DOT com

Jeffrey A Law wrote:
>   >     * fixproto: Recognize DOS paths with drive letters as absolute paths.
> This can't be correct since it will mess up on systems which allow directory
> names like c; (ie every unix system I'm aware of).

Sorry, I don't understand why patch is wrong. I've 

+case $rel_target_dir in
+  /* | [A-Za-z]:[\\/]*)
+     abs_target_dir=$rel_target_dir

If you mean directory names like 'c;/foo', they will be corectly recognized
as relative - the patch checks for presence of ':', which is not allowed in
file names.

BTW, in the case the patch is wrong (however I still don't see it), ylwrap
script is wrong too.

Laurynas

- Raw text -


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