[Top][All Lists]

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

Typo-like fixes

From: Peter Eisentraut
Subject: Typo-like fixes
Date: Sat, 10 Mar 2001 18:49:08 +0100 (CET)

MLB only.  No problem in HEAD.

2001-03-10  Peter Eisentraut  <address@hidden>

        * (clean):  Fix wrong variable use.

There were two subtle variable misuses in the clean *.lo case (compare to
clean *.la case, which works).

Test case one is trying to delete a *.lo file with an absolute path given.

$ /bin/sh ../../../libtool --mode=clean rm -f `pwd`/fe-auth.lo
.//home/peter/devel/pgsql72/pgsql-libtool/src/interfaces/libpq/fe-auth.lo: No 
such file or directory

(Fails because it tries './$file'.)

Test case two is trying to delete a regular *.lo and a non-libtool *.lo
file that is the last command line argument:

$ echo > foo.lo
$ /bin/sh ../../../libtool --mode=clean rm -f fe-exec.lo foo.lo
rm -f fe-exec.lo
rm -f foo.lo
rmdir .libs

(Fails to delete the internal files because the always sources foo.lo for

Peter Eisentraut      address@hidden

Attachment: fixvar.patch
Description: Patch

reply via email to

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