Message-Id: <200008120832.EAA11533@delorie.com> Date: Sat, 12 Aug 2000 11:35:42 +0200 To: meyering AT ascend DOT com X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" CC: tr AT eth DOT net, djgpp-workers AT delorie DOT com In-reply-to: (message from Jim Meyering on 11 Aug 2000 20:01:59 +0200) Subject: Re: Sh-utils 2.0j sources uploaded References: <200008110941 DOT CAA29407 AT drawbridge DOT ascend DOT com> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Jim Meyering > 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 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.)