* autoload.cc (noload): Correctly save argument count register.

This commit is contained in:
Christopher Faylor 2002-06-06 23:53:45 +00:00
parent c4e6ff484c
commit 46b941fcf9
4 changed files with 19 additions and 14 deletions

View File

@ -1,21 +1,24 @@
2002-06-06 Christopher Faylor <cgf@redhat.com>
* autoload.cc (noload): Correctly save argument count register.
2002-06-05 Conrad Scott <conrad.scott@dsl.pipex.com>
* fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
st_atim, st_mtim, and st_ctim fields.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* glob.c (stat32_to_STAT): Copy across the whole st_atim,
st_mtime, and st_ctim fields.
* glob.c (stat32_to_STAT): Copy across the whole st_atim, st_mtime, and
st_ctim fields.
* syscalls.cc (stat64_to_stat32): Ditto.
* times.cc (to_timestruc_t): New function.
(time_as_timestruc_t): New function.
* winsup.h: Add to_timestruc_t and time_as_timestruc_t functions.
* include/cygwin/stat.h: Replace time_t with timestruc_t
throughout for all file times, removing the st_spare1, st_spare2,
and st_spare3 fields in the process. Add macros to access tv_sec
fields by old names.
* include/cygwin/types.h: Typedef timespec_t and timestruc_t as
struct timespec.
* include/cygwin/stat.h: Replace time_t with timestruc_t throughout for
all file times, removing the st_spare1, st_spare2, and st_spare3 fields
in the process. Add macros to access tv_sec fields by old names.
* include/cygwin/types.h: Typedef timespec_t and timestruc_t as struct
timespec.
2002-06-03 Pierre Humblet <pierre.humblet@ieee.org>
@ -64,8 +67,8 @@
* dir.cc (rmdir): Streamline. Detect attempts to remove directories
from "read-only" virtual devices. (Suggested by Pavel Tsekov)
* syscalls.cc (unlink): Detect attempts to remove directories
from "read-only" virtual devices. (From Pavel Tsekov)
* syscalls.cc (unlink): Detect attempts to remove directories from
"read-only" virtual devices. (From Pavel Tsekov)
2002-06-05 Christopher Faylor <cgf@redhat.com>

View File

@ -276,10 +276,10 @@ version.cc winver.o: winver_stamp
@ :
shared_info_magic.h: cygmagic shared_info.h
/bin/sh ${word 1,$^} $@ "$(CXX) -x c" ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info'
/bin/sh ${word 1,$^} $@ "$(CC) -x c" ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info'
child_info_magic.h: cygmagic child_info.h
/bin/sh ${word 1,$^} $@ "$(CXX) -x c" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info'
/bin/sh ${word 1,$^} $@ "$(CC) -x c" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info'
dcrt0.o sigproc.o: child_info_magic.h

View File

@ -122,9 +122,10 @@ noload: \n\
jz 1f # Nope. \n\
decl %eax # Yes. This is the # of bytes + 1 \n\
popl %edx # Caller's caller \n\
pushl %eax # Save for later \n\
movl %eax,%ebx # For manipulation \n\
andl $0xffff,%eax # Only want lower word \n\
addl %eax,%esp # Pop off bytes \n\
pushl %ebx # Save for later \n\
movl $127,%eax # ERROR_PROC_NOT_FOUND \n\
pushl %eax # First argument \n\
call _SetLastError@4 # Set it \n\

View File

@ -737,6 +737,7 @@ handle_to_fn (HANDLE h, char *posix_fn)
if (res)
{
strcpy (posix_fn, "some disk file");
debug_printf ("NtQueryObject failed");
return posix_fn;
}