summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygmagic
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-04-28 23:59:44 +0000
committerChristopher Faylor <me@cgf.cx>2005-04-28 23:59:44 +0000
commitc4ffa3c427f77224e8a2d58219c9de25666b0b69 (patch)
tree628c949a7dca65aea4684a1a97207f47cf9bdbd5 /winsup/cygwin/cygmagic
parente525f6d51a38d6648ebba2a2c2b25f31d7bfe5ce (diff)
downloadcygnal-c4ffa3c427f77224e8a2d58219c9de25666b0b69.tar.gz
cygnal-c4ffa3c427f77224e8a2d58219c9de25666b0b69.tar.bz2
cygnal-c4ffa3c427f77224e8a2d58219c9de25666b0b69.zip
* shared_info.h (cygwin_shared_address): Bump to a higher value to avoid
collision with large data areas. * fhandler_console.cc (fhandler_console::get_tty_stuff): Accommodate changes to open_shared arguments. * fhandler_tape.cc (mtinfo_init): Ditto. * pinfo.cc (pinfo::init): Use open_shared rather than win32 mmap calls. * shared.cc (user_shared_initialize): Ditto. (memory_init): Ditto. (open_shared): Change to allow use a smore general mmap handler. * shared_info.h (shared_locations): Add SH_JUSTCREATE, SH_JUSTOPEN. (open_shared): Change declaration to match new usage. * autoload.cc (LoadDLLfuncEx2): Define in terms of LoadDLLfuncEx3. (LoadDLLfuncEx3): New macro.
Diffstat (limited to 'winsup/cygwin/cygmagic')
-rwxr-xr-xwinsup/cygwin/cygmagic2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygmagic b/winsup/cygwin/cygmagic
index a8ccc8c76..aed508b0f 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 | sed -n "/^$struct/,/^};/p" | sed -e 's/[ ]//g' -e '/^$/d' | sumit | awk '{printf "0x%xU", $1}'`
+ 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}'`
echo "#define $define $sum"
curr=`sed -n "s/^#[ ]*define CURR_$define[ ][ ]*\([^ ][^ ]*\)/\1/p" $file`
[ "$curr" != "$sum" ] && echo "*** WARNING WARNING WARNING WARNING WARNING ***