libtool-patches
[Top][All Lists]
Advanced

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

Re: more zsh crapology


From: Gary V. Vaughan
Subject: Re: more zsh crapology
Date: Thu, 04 Dec 2003 08:36:39 +0000

On Thu, 04 Dec 2003 00:21:09 +0900, "Peter O'Gorman" <address@hidden>
said:
> 4-
>       * tests/mdemo-dryrun.test: If using zsh alias ls=/bin/ls. Fixes a
>       problem if the nfs file server time is ahead of the local machines
>       time.
>
> +if test -n "{ZSH_VERSION+set}" && test -x /bin/ls ; then
               ^
There should be a $ in there!

> zsh ls -l gives strange results when the time on the file is in the
> future:
> bash-2.05a$ ls -l foo
> - -rw-r--r--    1 ogorman  users           0 Dec  3  2003 foo
> bash-2.05a$ ls -l foo
> - -rw-r--r--    1 ogorman  users           0 Dec  3 07:14 foo
> 
> This makes the mdemo-dryrun.test fail on the Mac OS X 10.1 box on
> sourceforge's compile farm (the nfs servers time is slightly ahead of
> the OS X boxes time). aliased ls to /bin/ls in the test.

How does the aliasing help?  Why not use /bin/ls all the time (unless the
user overrides) instead of just ZSH if it makes a difference?
 
> 5-
>       * m4/libtool.m4 (CDPATH): Change the CDPATH setting so that it
>       allows for zsh differences, as noted in the autoconf manual's
>       Protable Shell - Special Shell Variables section.
          ^
        Portable

Okay.

> 6-
>       * m4/libtool.m4: Ensure that ${ZSH_VERSION+set} is properly escaped.

Okay.

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook




reply via email to

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