Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-18 Thread Charles Wilson
Peter Rosin wrote: On Tue, Jul 17, 2007 at 06:48:38AM -0600, Eric Blake wrote: I still think searching for libs case-insensitively on cygwin is wrong - the philosophy of cygwin is to be a Linux emulation, where case matters; and even though you can't have dual case files without a managed mount,

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-18 Thread Peter Rosin
On Tue, Jul 17, 2007 at 06:48:38AM -0600, Eric Blake wrote: > According to Peter Rosin on 7/17/2007 2:49 AM: > > I think the test will also fail on cygwin with managed mount, this > > should probably be detected and the test should be skipped if run > > on a managed mount just as it is skipped on n

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Peter Rosin on 7/17/2007 2:49 AM: > I think the test will also fail on cygwin with managed mount, this > should probably be detected and the test should be skipped if run > on a managed mount just as it is skipped on non-(cygwin|mingw). I

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-17 Thread Peter Rosin
On Fri, Jul 13, 2007 at 05:25:59PM +0200, Paolo Bonzini wrote: > > >>s/[A-Za-z]/*|&|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ*/g > >>s/\*|\(.\)|[A-Za-z]*\1[A-Za-z]\{25\}\([A-Za-z]\)[A-Za-z]*\*/[\1\2]/g > > > >Ah, that's a nice solution. I was considering the fo

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-13 Thread Paolo Bonzini
s/[A-Za-z]/*|&|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ*/g s/\*|\(.\)|[A-Za-z]*\1[A-Za-z]\{25\}\([A-Za-z]\)[A-Za-z]*\*/[\1\2]/g Ah, that's a nice solution. I was considering the following: This is inspired me the following in turn, which is faster than m

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-13 Thread Ralf Menzel
Hello, Paolo Bonzini <[EMAIL PROTECTED]> writes: >>> [lL][iI][bB][nN][aA][mM][eE] >>> >>> by using this sed expr >>> >>> s/[aA]/[aA]/g;s/[bB]/[bB]/g;<22 more>;s/[yY]/[yY]/g;s/[zZ]/[zZ]/g; >>> >>> Isn't there a better way? (I can't think of one offhand, given how >>> this is used to generate a list

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-13 Thread Paolo Bonzini
[lL][iI][bB][nN][aA][mM][eE] by using this sed expr s/[aA]/[aA]/g;s/[bB]/[bB]/g;<22 more>;s/[yY]/[yY]/g;s/[zZ]/[zZ]/g; Isn't there a better way? (I can't think of one offhand, given how this is used to generate a list of "potential_libs", but still...this can't be very efficient.) I would d

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-12 Thread Peter Rosin
On Thu, Jul 12, 2007 at 03:32:18AM -0400, Charles Wilson wrote: > Peter Rosin wrote: > > * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD), > > libltdl/config/ltmain.m4sh (func_mode_link): On Windows, > > find potential libs regardless of file name case. > > Hmm. Well, this one might p

Re: [4/11] Native MSVC support (file-magic-glob)

2007-07-12 Thread Charles Wilson
Peter Rosin wrote: * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD), libltdl/config/ltmain.m4sh (func_mode_link): On Windows, find potential libs regardless of file name case. Hmm. Well, this one might pose some problems. On cygwin, there exists something called "mana

[4/11] Native MSVC support (file-magic-glob)

2007-07-10 Thread Peter Rosin
* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD), libltdl/config/ltmain.m4sh (func_mode_link): On Windows, find potential libs regardless of file name case. * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD), libltdl/config/ltmain.m4sh (func_mode_link): On Win