Fixproto fix

Laurynas Biveinis lauras@softhome.net
Thu May 18 23:53:00 GMT 2000


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


More information about the Gcc-patches mailing list