delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | ixi.eng.ascend.com: meyering set sender to meyering AT ascend DOT com using -f |
Sender: | meyering AT ascend DOT com |
To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
Cc: | tr AT eth DOT net, djgpp-workers AT delorie DOT com |
Subject: | Re: Sh-utils 2.0j sources uploaded |
References: | <Pine DOT LNX DOT 4 DOT 21 DOT 0007250651010 DOT 823-100000 AT midpec DOT com> |
<200008110941 DOT CAA29407 AT drawbridge DOT ascend DOT com> | |
<uryya234qy0 DOT fsf AT ixi DOT eng DOT ascend DOT com> | |
<200008120825 DOT BAA03861 AT drawbridge DOT ascend DOT com> | |
From: | Jim Meyering <meyering AT ascend DOT com> |
In-Reply-To: | "Eli Zaretskii"'s message of "Sat, 12 Aug 2000 11:35:42 +0200" |
Date: | 12 Aug 2000 12:15:10 +0200 |
Message-ID: | <uryu2cq3hw1.fsf@ixi.eng.ascend.com> |
Lines: | 27 |
User-Agent: | Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6.92 |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> writes: | > From: Jim Meyering <meyering AT ascend DOT com> | > Date: 11 Aug 2000 20:01:59 +0200 | > | > | - sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile" | > | + sed 's/^\([A-z]:\/\)\{0,1\}[^:]*: / /' < "$tmpdepfile" >> "$depfile" | > | ## This next piece of magic avoids the `deleted header file' problem. | > | ## The problem is that when a header file which appears in a .P file | > | ## is deleted, the dependency causes make to die (because there is | > | > Also, A-z is not portable for some locale settings. | > Use abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ instead. | | The DOS/Windows drive letters are ASCII, so I think [A-Za-z] should be | good enough. (The use of [A-z] was on purpose: in the C locale it I remember that you deliberately used A-z to match those other six characters. My point is that if you really want to depend on the C local, then you should make it explicit. With some other locales, A-z contains characters that are not valid drive letters. So it's more portable to enumerate the acceptable letters. Now (with ibm360-linux) we have a legitimate reason to accommodate EBCDIC. | includes the 6 letters between Z and a which DOS allows to use as | drive letters. But I don't think it's worth the hassle to deal with | those 6 letters, which are almost never used.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |