This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog cygheap.h devices. ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 18 Oct 2012 17:16:02 -0000
- Subject: src/winsup/cygwin ChangeLog cygheap.h devices. ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin-64bit-branch
Changes by: corinna@sourceware.org 2012-10-18 17:16:02
Modified files:
winsup/cygwin : ChangeLog cygheap.h devices.cc devices.h
devices.in dtable.cc fhandler.h
fhandler_procnet.cc fhandler_procsys.cc
fhandler_socket.cc fhandler_tty.cc mmap.cc
path.cc path.h pinfo.h poll.cc syscalls.cc
tty.cc tty.h
winsup/cygwin/libc: bsdlib.cc
Log message:
Avoid various type ambiguity problems showing up in the 64 bit case:
* cygheap.h (cygheap_user::set_sid): Convert to void.
(cygheap_user::set_saved_sid): Ditto.
* devices.h (struct device): Drop operator int& and DWORD& entirely.
Throughout, use dev_t or fh_devices instead.
* devices.cc: Regenerate.
* fhandler.h (class fhandler_base): Convert _refcnt member to LONG.
(fhandler_base::inc_refcnt): Return LONG.
(fhandler_base::dec_refcnt): Ditto.
(fhandler_base::get_major): Return _major_t.
(fhandler_base::get_minor): Return _minor_t.
(fhandler_base::get_unit): Delete. Throughout, use get_minor instead
of get_unit.
(fhandler_socket::get_socket): Use SOCKET rather than int. Only define
if __INSIDE_CYGWIN_NET__ is defined.
(fhandler_pty_slave::get_unit): Drop declaration.
* fhandler_procnet.cc: Include Windows headers early.
* fhandler_socket.cc: Ditto.
* fhandler_tty.cc (fhandler_pty_slave::get_unit): Remove.
* path.h (path_conv::get_device): Rename from get_devn and change return
type to dev_t. Accommodate throughout.
(path_conv::get_unitn): Remove unused method.
* pinfo.h (class pinfo): Drop operator== for int case.
(pinfo::operator!): Define.
* poll.cc: Don't define __INSIDE_CYGWIN_NET__.
* syscalls.cc (getpgid): Replace use of pinfo::operator== with
pinfo::operator!.
* tty.h (tty_min::setntty): Convert 2nd parameter to _minor_t.
* tty.h (tty_min::getntty): Change return type to dev_t.
(tty_min::get_minor): Rename from get_unit. Change return type to
_minor_t.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.5939.2.11&r2=1.5939.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.161.2.1&r2=1.161.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.48.2.1&r2=1.48.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.44.2.1&r2=1.44.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.in.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.39.2.1&r2=1.39.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.264&r2=1.264.2.1
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.2&r2=1.473.2.3
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.1&r2=1.18.2.2
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.1&r2=1.11.2.2
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.2&r2=1.291.2.3
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.3&r2=1.268.2.4
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.1&r2=1.177.2.2
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.2&r2=1.669.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.171.2.1&r2=1.171.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.128.2.1&r2=1.128.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/poll.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/syscalls.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.638.2.2&r2=1.638.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tty.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.93&r2=1.93.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tty.h.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.34.2.1&r2=1.34.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/bsdlib.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.17&r2=1.17.2.1