libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: win32 short name and IFS='~'


From: Naofumi Yasufuku
Subject: Re: win32 short name and IFS='~'
Date: Fri, 18 Apr 2003 01:21:04 +0900
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (Kashiharajingū-mae) APEL/10.3 Emacs/21.2 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI)

Robert,

I really hope this '~' IFS problem will be solved by next stable release.

Regards,
--Naofumi


At Wed, 09 Apr 2003 17:02:55 +0900,
Naofumi Yasufuku wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> At Fri, 04 Apr 2003 14:21:36 +0900,
> Naofumi Yasufuku wrote:
> > 
> > At Thu, 03 Apr 2003 22:49:49 -0600,
> > Robert Boehne wrote:
> > > 
> > > Naofumi,
> > > 
> > > This doesn't look safe to me at all, I would prefer to change over
> > > to ? rather than change how these delicate shell expansions are handled.
> > > I'm going to try ? and see how it goes.
> > > 
> > 
> > '?' could be used in the command expressions (e.g. $?, ${var:?word}).
> > If you can assure that '?' will never used in the command expressions,
> > it can be used as IFS.
> > 
> 
> I would suggest using a control character, for example, '' (RS:
> Record Separator, 0x1E).
> I believe that '' will never be used in command expressions and it
> doesn't affect m4 macro processing.
> 
> The following patch changes IFS='~' to IFS=''.
> I've tested it under MinGW/Cygwin and Linux using bash.
> 
> Could you please review this patch?
> 
> Regards,
> --Naofumi
> 
> 
> rs-ifs.patch:
> -------------------------------------------------------------------------------
[snip]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]