Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-28 06:09:15 +0400
committerChristopher Faylor <me@cgf.cx>2002-05-28 06:09:15 +0400
commit0c12979b72c7467ed66383555e7478755e67b0ed (patch)
treedb0b0360bf6520545152d0f71b17d2780f18698b /winsup
parent57e2ae682ce64be2e5afefb789eabe846fb400ba (diff)
* autoload.cc (noload): Properly mask low order word for determining number of
bytes to pop.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/autoload.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index afd659f65..0438b3777 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2002-05-27 Christopher Faylor <cgf@redhat.com>
+ * autoload.cc (noload): Properly mask low order word for determining
+ number of bytes to pop.
+
+2002-05-27 Christopher Faylor <cgf@redhat.com>
+
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic
cleanup.
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 909ef1047..ed2f54042 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -123,7 +123,7 @@ noload: \n\
decl %eax # Yes. This is the # of bytes + 1 \n\
popl %edx # Caller's caller \n\
pushl %eax # Save for later \n\
- xorl $0xffff,%eax # Only want lower word \n\
+ andl $0xffff,%eax # Only want lower word \n\
addl %eax,%esp # Pop off bytes \n\
movl $127,%eax # ERROR_PROC_NOT_FOUND \n\
pushl %eax # First argument \n\