diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-22 03:54:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-22 03:54:29 +0000 |
commit | f82ca06eda7ea47511d97b9b5018f78ae82715ef (patch) | |
tree | 1a7724d7db5eb1954a2633a55c6b4dc75ac9e141 /winsup/cygwin/cygmagic | |
parent | f609f58d32ed91f857135cfc8b76ccba1b24e2e1 (diff) | |
download | cygnal-f82ca06eda7ea47511d97b9b5018f78ae82715ef.tar.gz cygnal-f82ca06eda7ea47511d97b9b5018f78ae82715ef.tar.bz2 cygnal-f82ca06eda7ea47511d97b9b5018f78ae82715ef.zip |
* spawn.cc (find_exec): Accept a PATH-like string in place of an environment
variable.
* dlfcn.cc (get_full_path_of_dll): Search /usr/bin (for windows compatibility)
and /usr/lib (for UNIX compatibility) when looking for shared libraries.
* environ.cc (conv_envvars): Put back LD_LIBRARY_PATH since it is used by
get_full_path_of_dll().
* errno.cc (errmap): Map MOD_NOT_FOUND to ENOENT.
* cygmagic: Remove debugging cruft.
Diffstat (limited to 'winsup/cygwin/cygmagic')
-rwxr-xr-x | winsup/cygwin/cygmagic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygmagic b/winsup/cygwin/cygmagic index aed508b0f..8d6457b22 100755 --- a/winsup/cygwin/cygmagic +++ b/winsup/cygwin/cygmagic @@ -24,7 +24,7 @@ sumit() { while [ -n "$1" ]; do define=$1; shift struct=$1; shift - sum=`$gcc -E $file | tee /tmp/1 | sed -n "/^$struct/,/^};/p" | sed -e 's/[ ]//g' -e '/^$/d' | tee /tmp/2 | sumit | tee /tmp/3 | awk '{printf "0x%xU", $1}'` + sum=`$gcc -E $file | sed -n "/^$struct/,/^};/p" | sed -e 's/[ ]//g' -e '/^$/d' | sumit | tee /tmp/3 | awk '{printf "0x%xU", $1}'` echo "#define $define $sum" curr=`sed -n "s/^#[ ]*define CURR_$define[ ][ ]*\([^ ][^ ]*\)/\1/p" $file` [ "$curr" != "$sum" ] && echo "*** WARNING WARNING WARNING WARNING WARNING *** |