CVSROOT: /cvs/src Module name: src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2012-12-10 11:45:51
Modified files: winsup/cygwin : ChangeLog.64bit cygthread.cc dcrt0.cc dtable.cc environ.cc errno.cc exceptions.cc fhandler.cc fhandler.h fhandler_console.cc fhandler_disk_file.cc fhandler_dsp.cc fhandler_fifo.cc fhandler_mailslot.cc fhandler_mem.cc fhandler_netdrive.cc fhandler_process.cc fhandler_procnet.cc fhandler_procsys.cc fhandler_procsysvipc.cc fhandler_registry.cc fhandler_serial.cc fhandler_socket.cc fhandler_tape.cc fhandler_tty.cc flock.cc fork.cc grp.cc ioctl.cc mmap.cc mount.cc msg.cc net.cc nlsfuncs.cc ntdll.h path.cc pinfo.cc pipe.cc posix_ipc.cc registry.cc sec_acl.cc sec_auth.cc sec_helper.cc security.cc select.cc sem.cc shared.cc shm.cc signal.cc sigproc.cc spawn.cc syscalls.cc sysconf.cc syslog.cc termios.cc thread.cc timer.cc times.cc tty.cc uinfo.cc wait.cc wow64.cc Log message: * Throughout, fix format string of debug printf and api_fatal calls to work in 32 and 64 bit environment, as well as to honor signedness. Use %y instead of 0x%x. * fhandler.h (class fhandler_dev_mem): Change type of mem_size from DWORD to SIZE_T. * fhandler_mem.cc: Throughout, cast mem_size in comparisons to make GCC happy. * fhandler_process.cc (format_process_maps): Change type of ret_len to SIZE_T. (get_mem_values): Ditto for n and length. * mmap.cc (MapView): Ditto for commitsize and viewsize. (class mmap_record): Ditto for len. Use SIZE_T througout for memory size in method args and return types. * ntdll.h (NtLockVirtualMemory): Fix type of memory size parameters to SIZE_T. (NtMapViewOfSection): Ditto. (NtQueryVirtualMemory): Ditto. (NtUnlockVirtualMemory): Ditto. (RtlFreeHeap): Change type of first parameter to HANDLE. * shm.cc (shmat): Change type of viewsize to SIZE_T. * timer.cc (timer_thread): Change type of sleep_ms to LONG. (ualarm): Drop casts to unsigned int in timer value computation. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.1.2.55&r2=1.1.2.56 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.93.2.2&r2=1.93.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.434.2.5&r2=1.434.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.264.2.5&r2=1.264.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.200.2.1&r2=1.200.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/errno.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.87.2.4&r2=1.87.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.391.2.6&r2=1.391.2.7 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.428.2.5&r2=1.428.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.473.2.7&r2=1.473.2.8 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.275.2.3&r2=1.275.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.379.2.4&r2=1.379.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_dsp.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.62.2.2&r2=1.62.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.55&r2=1.55.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_mailslot.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.16.2.1&r2=1.16.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_mem.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.60.2.1&r2=1.60.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_netdrive.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.32.2.3&r2=1.32.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.120.2.6&r2=1.120.2.7 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procnet.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.18.2.3&r2=1.18.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procsys.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.11.2.2&r2=1.11.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procsysvipc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.5.2.3&r2=1.5.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_registry.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.75.2.3&r2=1.75.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.89.2.2&r2=1.89.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.291.2.9&r2=1.291.2.10 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.83.2.5&r2=1.83.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.268.2.6&r2=1.268.2.7 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/flock.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.51.2.1&r2=1.51.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.237.2.1&r2=1.237.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/grp.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.118.2.1&r2=1.118.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ioctl.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.28&r2=1.28.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.177.2.3&r2=1.177.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mount.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.93.2.2&r2=1.93.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/msg.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.11&r2=1.11.10.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.300.2.4&r2=1.300.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/nlsfuncs.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.36.2.1&r2=1.36.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.141.2.7&r2=1.141.2.8 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.669.2.5&r2=1.669.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.309.2.5&r2=1.309.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.145.2.1&r2=1.145.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/posix_ipc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.30.2.2&r2=1.30.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/registry.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.47&r2=1.47.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.72.2.3&r2=1.72.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_auth.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.44.2.2&r2=1.44.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_helper.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.98.2.3&r2=1.98.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.263.2.1&r2=1.263.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.207.2.3&r2=1.207.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sem.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.12&r2=1.12.10.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.155.2.1&r2=1.155.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shm.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.38.8.1&r2=1.38.8.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.114.2.1&r2=1.114.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.388.2.4&r2=1.388.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.334.2.2&r2=1.334.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.638.2.3&r2=1.638.2.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sysconf.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.63.2.1&r2=1.63.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syslog.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.54.2.1&r2=1.54.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/termios.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.41.2.1&r2=1.41.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.270.2.6&r2=1.270.2.7 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/timer.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.31&r2=1.31.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.116&r2=1.116.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tty.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.93.2.1&r2=1.93.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.188.2.2&r2=1.188.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wait.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.42.2.2&r2=1.42.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wow64.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.6.2.2&r2=1.6.2.3