src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2014-08-18 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2014-08-18 11:09:56

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.h 
 fhandler_serial.cc fhandler_socket.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Mention that console
handles are kernel objects since Windows 8.
* fhandler.h (enum conn_state): Add "listener" state.
(class fhandler_socket): Drop listener status flag.
(fhandler_socket::lseek): Return -1 and errno ESPIPE.
(fhandler_serial::lseek): Ditto.
* fhandler_socket.cc (fhandler_socket::listen): Set connect_state to
listener.  Add comment.
(fhandler_socket::accept4): Explicitely check if the socket is listening
and fail with EINVAL, if not.  Explain why we have to do that.
(fhandler_socket::recv_internal): Explicitely check if the socket is
connected if it's a stream socket.  Explain why we have to do that.
(fhandler_socket::getpeereid): Drop now redundant test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6493&r2=1.6494
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.278&r2=1.279
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.503&r2=1.504
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=src&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.307&r2=1.308



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2014-07-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cygwin-1_7_29-release-branchpoint
Changes by: cori...@sourceware.org  2014-07-16 09:54:57

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler_disk_file.cc 
 fhandler_proc.cc fhandler_process.cc 
 fhandler_procsysvipc.cc flock.cc grp.cc net.cc 
 pinfo.cc pseudo-reloc.cc scandir.cc 
 smallprint.cc timer.cc 
winsup/cygwin/include/cygwin: version.h 
winsup/cygwin/libc: bsdlib.cc fts.c minires.c 

Log message:
Add more missing patches

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.6314.2.50&r2=1.6314.2.51
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.277&r2=1.277.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.394&r2=1.394.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.119&r2=1.119.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.124&r2=1.124.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procsysvipc.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.7&r2=1.7.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/flock.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.58.2.1&r2=1.58.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/grp.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.122.2.1&r2=1.122.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.311.2.2&r2=1.311.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.328.2.1&r2=1.328.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pseudo-reloc.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.12&r2=1.12.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/scandir.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.11&r2=1.11.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/smallprint.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.24&r2=1.24.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/timer.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.33&r2=1.33.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.397.2.3&r2=1.397.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/bsdlib.cc.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.18&r2=1.18.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/fts.c.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.6&r2=1.6.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/minires.c.diff?cvsroot=src&only_with_tag=cygwin-1_7_29-release-branchpoint&r1=1.13.2.1&r2=1.13.2.2



src/winsup/cygwin ChangeLog dtable.cc

2014-05-19 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2014-05-19 11:17:59

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (handle_to_fn): Fix length parameter in call to
QueryDosDeviceW (CID 59936).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6421&r2=1.6422
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.277&r2=1.278



src/winsup/cygwin ChangeLog dtable.cc

2013-12-04 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: c...@sourceware.org 2013-12-04 17:55:17

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::find_unused_handle): When extending, always make 
sure that
there is a NOFILE_INCR chunk following the free fd.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6275&r2=1.6276
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.275&r2=1.276



src/winsup/cygwin ChangeLog dtable.cc

2013-12-01 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: c...@sourceware.org 2013-12-01 19:17:56

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::find_unused_handle): Break out of the right loop.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6273&r2=1.6274
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.274&r2=1.275



src/winsup/cygwin ChangeLog dtable.cc dtable.h

2013-12-01 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: c...@sourceware.org 2013-12-01 17:52:48

Modified files:
winsup/cygwin  : ChangeLog dtable.cc dtable.h 

Log message:
* dtable.cc (dtable::find_unused_handle): Fix off-by-one error.  Always 
exit
through the bottom.
(cygwin_attach_handle_to_fd): Make sure that fd tab is locked for the 
duration
of this function.
* dtable.h (dtable::lock): Make public.
(dtable::unlock): Ditto.
(dtable): Remove friends.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6272&r2=1.6273
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.273&r2=1.274
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.61&r2=1.62



src/winsup/cygwin ChangeLog dtable.cc thread.cc

2013-12-01 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2013-12-01 10:27:16

Modified files:
winsup/cygwin  : ChangeLog dtable.cc thread.cc 

Log message:
* dtable.cc (dtable::extend): Change local variable new_size to size_t
as well.

* thread.cc: Fix comment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6270&r2=1.6271
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.272&r2=1.273
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.286&r2=1.287



src/winsup/cygwin ChangeLog dtable.cc dtable.h

2013-11-30 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: c...@sourceware.org 2013-12-01 02:52:54

Modified files:
winsup/cygwin  : ChangeLog dtable.cc dtable.h 

Log message:
* dtable.h (dtable::first_fd_for_open): Change declaration to size_t.
(dtable::extend): Change parameter to size_t.
(dtable::find_unused_handle): Ditto.
* dtable.cc: Remove now-unused header.
(dtable::extend): Remove pointless test.  Change parameter to size_t.
(dtable::find_unused_handle): Rework to avoid MAX calculation in 
extend() call.
Change parameter to size_t.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6269&r2=1.6270
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.271&r2=1.272
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.60&r2=1.61



src/winsup/cygwin ChangeLog dtable.cc release/ ...

2013-11-30 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: c...@sourceware.org 2013-12-01 02:09:22

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 
Added files:
winsup/cygwin/release: 1.7.27 

Log message:
* dtable.cc (build_fh_pc): When creating an archetype, use native name 
rather
than unix name if name doesn't exist.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6268&r2=1.6269
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.270&r2=1.271
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/release/1.7.27.diff?cvsroot=src&r1=NONE&r2=1.1



src/winsup/cygwin ChangeLog dtable.cc

2013-11-24 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2013-11-24 13:01:25

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc: Include sys/param.h for MAX definition.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6257&r2=1.6258
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.269&r2=1.270



winsup/cygwin ChangeLog dtable.cc syscalls.cc ...

2012-12-31 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-12-31 18:31:49

Modified files:
cygwin : ChangeLog dtable.cc syscalls.cc winsup.h 

Log message:
* dtable.cc (dtable::dup3): Fix bounds checking for valid newfd.
* syscalls.cc (dup2): Ditto.
* winsup.h (events_terminate): Delete obsolete function declaration.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.6020&r2=1.6021
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.264&r2=1.265
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.639&r2=1.640
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/winsup.h.diff?cvsroot=uberbaum&r1=1.249&r2=1.250



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2012-07-06 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2012-07-06 13:52:19

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler_procnet.cc 
 fhandler_socket.cc select.cc syslog.cc 
winsup/cygwin/include: netdb.h 
winsup/cygwin/include/cygwin: if.h in.h socket.h 
winsup/cygwin/libc: inet_addr.c inet_network.c minires.h 

Log message:
In terms of network related functionality, rely on Winsock definitions
as much as possible:
* dtable.cc: Drop including sys/socket.h.
* fhandler_procnet.cc: Change includes accordingly.
* fhandler_socket.cc: Ditto.
(fhandler_socket::listen): Avoid gcc error message initializing sin6.
(LPFN_WSARECVMSG): Only define when building against w32api headers.
* net.cc: Change includes accordingly.  Define USE_SYS_TYPES_FD_SET
and __WSA_ERR_MACROS_DEFINED.  Define _INC_NETIOAPI temporarily and
explain why.
(struct _IP_ADAPTER_UNICAST_ADDRESS_LH): Only define when building
against w32api headers.
(struct _IP_ADAPTER_ADDRESSES_LH): Ditto.
(SIO_GET_INTERFACE_LIST): Ditto.
(ws_freeaddrinfo): Rename from freeaddrinfo so as not to collide with
Winsock declaration.  Change througout.
(ws_getaddrinfo): Ditto.
(ws_getnameinfo): Ditto.
* select.cc: Include netdb.h after defining USE_SYS_TYPES_FD_SET.
* syslog.cc: Drop including netinet/in.h.  Define USE_SYS_TYPES_FD_SET
and include ws2tcpip.h.
* include/netdb.h (struct addrinfo): Don't define when building Cygwin.
* include/cygwin/if.h: Don't declare if_xxx functions when building
Cygwin.
* include/cygwin/in.h: Disable most definitions when building Cygwin.
* include/cygwin/socket.h: Disable sockaddr and sockaddr_storage
definitions when building Cygwin.  Same for MCAST_INCLUDE/MCAST_EXCLUDE.
* libc/inet_addr.c: Don't define __INSIDE_CYGWIN__ nor
__INSIDE_CYGWIN_NET__.
* libc/inet_network.c: Ditto.
* libc/minires.h: Drop redundant inclusion of netdb.h.  Define
__INSIDE_CYGWIN_NET__ only before including netdb.h and resolver
headers.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5905&r2=1.5906
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.263&r2=1.264
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_procnet.cc.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.287&r2=1.288
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&r1=1.204&r2=1.205
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syslog.cc.diff?cvsroot=src&r1=1.52&r2=1.53
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/netdb.h.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/if.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/in.h.diff?cvsroot=src&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/socket.h.diff?cvsroot=src&r1=1.29&r2=1.30
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/inet_addr.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/inet_network.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/libc/minires.h.diff?cvsroot=src&r1=1.2&r2=1.3



winsup/cygwin ChangeLog dtable.cc syscalls.cc

2012-06-03 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-06-04 01:26:06

Modified files:
cygwin : ChangeLog dtable.cc syscalls.cc 

Log message:
* dtable.cc (dtable::dup3): Only return with lock set when O_EXCL flag 
is
passed in.
* syscalls.cc (dup_finish): Pass O_EXCL in flags to dtable::dup3.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5862&r2=1.5863
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.262&r2=1.263
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.633&r2=1.634



src/winsup/cygwin ChangeLog dtable.cc devices. ...

2012-05-22 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2012-05-22 17:37:41

Modified files:
winsup/cygwin  : ChangeLog dtable.cc devices.in fhandler_mem.cc 
 devices.cc 

Log message:
* devices.in: Fix native name of /dev/kmem.
* devices.cc: Regenerate.
* dtable.cc (fh_alloc): Don't forget FH_KMEM.
* fhandler_mem.cc (fhandler_dev_mem::open): Set errno to EACCES rather
than ENOENT on systems not granting access to physical memory from
user space.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5837&r2=1.5838
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.260&r2=1.261
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.in.diff?cvsroot=src&r1=1.38&r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_mem.cc.diff?cvsroot=src&r1=1.59&r2=1.60
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.cc.diff?cvsroot=src&r1=1.47&r2=1.48



winsup/cygwin ChangeLog dtable.cc path.cc path.h

2012-04-21 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-04-21 19:52:11

Modified files:
cygwin : ChangeLog dtable.cc path.cc path.h 

Log message:
* dtable.cc (fh_alloc): Only disallow opening of nonexistent on-disk 
device.
* path.cc (path_conv::check): Remove PATH_KEPT_HANDLE setting.
* path.h (path_types): Remove PATH_KEPT_HANDLE.
(path_conv::kept_handle): Delete now-unneeded function.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5810&r2=1.5811
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.259&r2=1.260
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.660&r2=1.661
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&r1=1.168&r2=1.169



winsup/cygwin ChangeLog dtable.cc path.cc path.h

2012-04-19 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-04-19 17:21:32

Modified files:
cygwin : ChangeLog dtable.cc path.cc path.h 

Log message:
* dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for 
an
on-disk device and we were stating it.
* path.cc (path_conv::check): Set PATH_KEPT_HANDLE.
* path.h (path_types): Add PATH_KEPT_HANDLE.
(path_conv::kept_handle): Implement.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5809&r2=1.5810
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.258&r2=1.259
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.659&r2=1.660
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&r1=1.167&r2=1.168



winsup/cygwin ChangeLog dtable.cc fhandler.h f ...

2012-04-17 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-04-18 05:57:38

Modified files:
cygwin : ChangeLog dtable.cc fhandler.h 
 fhandler_termios.cc 

Log message:
* fhandler.h (fhandler_base::nohandle): Revert to standard 
implementation.
* dtable.cc (dtable::fixup_after_exec): Specifically reject releasing
nohandle() type fhandlers rather than relying on contents of io_handle.
(dtable::fixup_after_fork): Ditto.
* fhandler_termios.cc: Add includes necessary for definitions of 
have_execed
and have_execed_cygwin.
(fhandler_termios::sigflush): Don't flush console input when we've 
started a
non-Cygwin process.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5808&r2=1.5809
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.257&r2=1.258
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.464&r2=1.465
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.96&r2=1.97



winsup/cygwin ChangeLog dtable.cc mmap.cc path.cc

2012-04-07 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-04-07 17:32:45

Modified files:
cygwin : ChangeLog dtable.cc mmap.cc path.cc 

Log message:
* dtable.cc (cygwin_attach_handle_to_fd): Defend against NULL return 
from
build_fh_*.
(dtable::init_std_file_from_handle): Ditto.
* mmap.cc (mmap_record::alloc_fh): Ditto.
* path.cc (path_conv::check): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5802&r2=1.5803
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.256&r2=1.257
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/mmap.cc.diff?cvsroot=uberbaum&r1=1.176&r2=1.177
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.658&r2=1.659



winsup/cygwin ChangeLog dtable.cc dtable.h fha ...

2012-04-01 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-04-01 22:28:39

Modified files:
cygwin : ChangeLog dtable.cc dtable.h 
 fhandler_console.cc 

Log message:
* dtable.cc (dtable::fixup_close): Define new function.
(dtable::fixup_after_exec): Use fixup_close() and detect when it was not
possible to open an inherited file handle.
(dtable::fixup_after_fork): Defensively close any file handles which 
were not,
for some reason, inheritable.
* dtable.h: Make #pragma once.
(dtable::fixup_close): Declare new function.
* fhandler_console.cc (fhandler_console::set_unit): Set I/O handles to 
NULL
when this function fails.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5781&r2=1.5782
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.253&r2=1.254
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&r1=1.56&r2=1.57
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.267&r2=1.268



winsup/cygwin ChangeLog dtable.cc fhandler_con ...

2012-03-10 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-03-10 17:51:33

Modified files:
cygwin : ChangeLog dtable.cc fhandler_console.cc 

Log message:
* dtable.cc (fh_alloc): Treat pc.dev as unsigned.
* fhandler_console.cc (fhandler_console::set_unit): Use lock always to 
avoid
races between competing cygwin processes running on the console.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5746&r2=1.5747
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.250&r2=1.251
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.265&r2=1.266



src/winsup/cygwin ChangeLog dtable.cc

2012-02-15 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2012-02-15 16:11:37

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Use tmp_pathbuf for
name.
(handle_to_fn): Ditto for device.  Fix size in QueryDosDeviceW call.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5709&r2=1.5710
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.249&r2=1.250



winsup/cygwin ChangeLog dtable.cc passwd.cc

2012-02-08 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-02-09 01:20:56

Modified files:
cygwin : ChangeLog dtable.cc passwd.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Reinstate opening tty 
handles
with O_RDWR permissions.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5689&r2=1.5690
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.246&r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/passwd.cc.diff?cvsroot=uberbaum&r1=1.88&r2=1.89



winsup/cygwin ChangeLog dtable.cc syscalls.cc

2012-02-01 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-02-01 17:20:03

Modified files:
cygwin : ChangeLog dtable.cc syscalls.cc 

Log message:
* dtable.cc (dtable::dup_worker): Add comment explaining why refcnt 
isn't
incremented here.
(dtable::dup3): Simplify slightly.  Add comment.
* syscalls.cc (dup3): Increment refcnt here, similarly to dup2.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5671&r2=1.5672
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.245&r2=1.246
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.615&r2=1.616



winsup/cygwin ChangeLog dtable.cc fhandler.h f ...

2012-01-11 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-01-11 19:07:11

Modified files:
cygwin : ChangeLog dtable.cc fhandler.h fork.cc path.cc 
 pinfo.cc pinfo.h sigproc.cc sigproc.h spawn.cc 
 thread.cc thread.h 
cygwin/include/cygwin: version.h 

Log message:
Update copyright on all files checked in so far this year.
* fhandler.h: Use #pragma once rather than ifdef guards.
(fhandler_console::tc_getpgid): Return our pgid if we have never opened 
a
console.
* fork.cc: Rearrange includes to accommodate fhandler.h use of pinfo.h.
* sigproc.cc: Ditto.
* spawn.cc: Ditto.
(child_info_spawn::worker): Query myself->pgid rather than calling 
expensive
function.
* thread.h: Use #pragma once rather than ifdef guards.
* pinfo.h: Use #pragma once rather than ifdef guards.
(pinfo::remember): Don't define if sigproc.h has not been included.
(pinfo::reattach): Ditto.
* sigproc.h: Use #pragma once rather than ifdef guards.  Use different 
test to
see if pinfo.h has been included.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5656&r2=1.5657
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.243&r2=1.244
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.448&r2=1.449
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fork.cc.diff?cvsroot=uberbaum&r1=1.230&r2=1.231
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.646&r2=1.647
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.294&r2=1.295
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.h.diff?cvsroot=uberbaum&r1=1.123&r2=1.124
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.372&r2=1.373
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.h.diff?cvsroot=uberbaum&r1=1.104&r2=1.105
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.320&r2=1.321
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.cc.diff?cvsroot=uberbaum&r1=1.252&r2=1.253
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.h.diff?cvsroot=uberbaum&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaum&r1=1.360&r2=1.361



winsup/cygwin ChangeLog dtable.cc fhandler_ter ...

2012-01-07 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2012-01-08 06:24:18

Modified files:
cygwin : ChangeLog dtable.cc fhandler_termios.cc 
 pinfo.cc spawn.cc 

Log message:
* dtable.cc (dtable::stdio_init): Always initialize console when we 
have one.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Use a better 
method to
print tty name for debugging.
(fhandler_termios::bg_check): Ditto.
* pinfo.cc (_pinfo::set_ctty): Remove leftover debugging stuff.  
Simplify
behavior when setting tty's sid and pgid to avoid overwriting 
previously set
values.
* spawn.cc (ch_spawn): Cosmetic change.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5653&r2=1.5654
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.242&r2=1.243
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.293&r2=1.294
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.318&r2=1.319



winsup/cygwin ChangeLog dtable.cc fhandler.h f ...

2011-11-07 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-11-08 06:26:15

Modified files:
cygwin : ChangeLog dtable.cc fhandler.h fhandler_tty.cc 
cygwin/libc: bsdlib.cc 

Log message:
* fhandler.h (__ptsname): New macro.
* dtable.cc (decode_tty): Use __ptsname to generate the slave pty name.
* fhandler_tty.cc (fhandler_pty_master::ptsname_r): Ditto.
* bsdlib.cc: Add needed includes for openpty() changes.
(openpty): Use __ptsname to generate the slave pty name.  Close slave 
fd when
aslave == NULL.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5552&r2=1.5553
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.238&r2=1.239
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.443&r2=1.444
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.246&r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/libc/bsdlib.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17



winsup/cygwin ChangeLog dtable.cc

2011-10-11 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-10-11 12:39:31

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (fh_alloc): Don't parse /dev/tty if ctty is < 0.  Reset 
major/minor
from the specific tty to those for /dev/tty.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5514&r2=1.5515
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.233&r2=1.234



winsup/cygwin ChangeLog dtable.cc environ.cc f ...

2011-08-19 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-08-19 18:19:22

Modified files:
cygwin : ChangeLog dtable.cc environ.cc 
 fhandler_console.cc 

Log message:
* dtable.cc: Mark some const variables as static.
* environ.cc (conv_start_chars): Move to shared cygwin region and 
initialize at
compile time.
(match_first_char): New generic function for querying conv_start_chars.
(posify_maybe): Rename from posify.
(environ_init): Remove conv_envvars initialization.  Don't check
conv_start_chars, just allow posify_maybe to make the decision.
* fhandler_console.cc (__vt100_conv): Fix formatting.  Mark as const.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5487&r2=1.5488
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.232&r2=1.233
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.cc.diff?cvsroot=uberbaum&r1=1.194&r2=1.195
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.248&r2=1.249



src/winsup/cygwin ChangeLog dtable.cc

2011-08-18 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-08-18 09:16:51

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::get_debugger_info): Add missing braces.
(dtable::stdio_init): Fix incorrect negation of not_open(2) condition.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5484&r2=1.5485
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.231&r2=1.232



src/winsup/cygwin ChangeLog dtable.cc

2011-07-04 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-07-04 09:47:10

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Change test for console
device in call to fh->init to avoid conhost crash on W7.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5426&r2=1.5427
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.230&r2=1.231



winsup/cygwin ChangeLog dtable.cc

2011-07-01 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-07-01 22:04:20

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (cnew): Fix whitespace.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5423&r2=1.5424
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.229&r2=1.230



src/winsup/cygwin ChangeLog dtable.cc

2011-06-30 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-06-30 14:04:51

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (fh_oom): Remove.
(fh_calloc): Remove.
(cnew): Redefine to handle NULL returns from cmalloc.
(build_fh_name): Accommodate new definition of cnew.  Remove unneeded
test for fh_oom.
(fh_alloc): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5420&r2=1.5421
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.228&r2=1.229



src/winsup/cygwin ChangeLog dtable.cc pipe.cc

2011-06-30 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-06-30 09:37:36

Modified files:
winsup/cygwin  : ChangeLog dtable.cc pipe.cc 

Log message:
* dtable.cc (fh_oom): New static fhandler storage.
(fh_calloc): New static function.  Add a comment to explain why this
is needed.
(cnew): Call fh_calloc as placement argument.
(build_fh_name): Check return code from cnew against address of
fh_oom to test for out of memory condition.
(fh_alloc): Ditto.
(build_fh_pc): Avoid a crash due to useing a NULL fhandler.
* pipe.cc (fhandler_pipe::create): Check if build_fh_dev returned a
valid pointer before using it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5418&r2=1.5419
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.227&r2=1.228
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=src&r1=1.129&r2=1.130



src/winsup/cygwin ChangeLog dtable.cc

2011-06-17 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-06-17 08:27:32

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (handle_to_fn): Accommodate name change of pty named pipes,
otherwise ptys are not recognized.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5410&r2=1.5411
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.226&r2=1.227



winsup/cygwin ChangeLog dtable.cc fhandler.cc ...

2011-05-30 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-05-31 00:26:37

Modified files:
cygwin : ChangeLog dtable.cc fhandler.cc fhandler.h 
 pipe.cc 

Log message:
* dtable.cc (dtable::select_write): Add missing argument to 
debug_printf.
* fhandler.cc (fhandler_base_overlapped::setup_overlapped): Explicitly 
set
io_pending to false.
(fhandler_base_overlapped::has_ongoing_io): Call GetOverlappedResult to 
force
completion of I/O.
(fhandler_base_overlapped::wait_overlapped): Rewrite to correctly deal 
with
nonblocking reads and to make more race proof.
(fhandler_base_overlapped::raw_write): Deal with new enum values.
(fhandler_base_overlapped::raw_read): Ditto.  Don't deal with ongoing 
I/O here
since it makes no sense in the read context.
* fhandler.h (enum wait_return): Add overlapped_unknown,
overlapped_nonblocking_no_data.
* pipe.cc (pipe): Add debugging output.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5389&r2=1.5390
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.222&r2=1.223
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.390&r2=1.391
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.426&r2=1.427
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.128&r2=1.129



src/winsup/cygwin ChangeLog dtable.cc

2011-04-04 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2011-04-04 11:24:20

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Fix a comment to
reflect the current state.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5233&r2=1.5234
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.218&r2=1.219



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2010-06-15 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2010-06-15 12:05:15

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.cc fhandler.h 
 fhandler_disk_file.cc ntdll.h path.cc path.h 
 sec_acl.cc syscalls.cc 

Log message:
* dtable.cc (dtable::dup_worker): Reset path_conv handle in duplicated
fhandler.
* fhandler.cc (fhandler_base::fstatvfs): Keep handle in created
path_conv.
* fhandler.h (fhandler_base::get_stat_access): New method.
(fhandler_base::get_stat_handle): New method.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use handle
returned by get_stat_handle.  Only request inode from system if it
isn't already set in the fhandler, and only for filesystems supporting
them.
(fhandler_base::fstat_fs): Use handle returned by get_stat_handle.
Change the way open_fs is called.  Explain why.
(fhandler_base::fstat_helper): Use handle returned by get_stat_handle.
Never use 0 inode number.  Simplify executable recognition by re-using
get_stat_handle if file could be opened with sufficient rights.
(fhandler_disk_file::fstatvfs): Use handle returned by get_stat_handle.
(fhandler_disk_file::facl): Use handle returned by get_stat_handle in
GETACL and GETACLCNT cases.
(fhandler_disk_file::link): Use handle returned by get_stat_handle
instead of opening file here again.  Add comment.
(readdir_get_ino): Keep handle in created path_conv and drop
opening file.
* ntdll.h (wait_pending): New helper function.
* path.cc (symlink_info::check): Drop unused 'opt' parameter from
declaration.  Add path_conv_handle argument.
(path_conv::check): Make sure conv_handle is closed.  Keep
PC_KEEP_HANDLE flag in pflags_or.  Accommodate call to sym.check to
new args.
(path_conv::~path_conv): Close conv_handle.
(symlink_info::check_shortcut): Don't re-open file here, just use
incoming handle.  Drop goto's and label out.
(symlink_info::check_sysfile): Don't re-open file here, just use
incoming handle.  Keep track of file position to accommodate the fact
that file has been opened asynchronously in calling function.
(symlink_info::check_nfs_symlink): Don't re-open file here, just use
incoming handle.
(symlink_info::check): Drop unused 'opt' parameter.  Add
path_conv_handle argument.  Always try to open file with GENERIC_READ
rights first to allow reading file content w/o having to re-open the
file.  Drop back to READ_CONTROL | FILE_READ_ATTRIBUTES otherwise.
Call symlink test functions (except for check_reparse_point) only if
file could be opened with GENERIC_READ.  Keep file handle open if
PC_KEEP_HANDLE is set in pflags.
* path.h (enum pathconv_arg): Add PC_KEEP_HANDLE flag.
(class path_conv_handle): New class.
(class path_conv): Add conv_handle member.
(path_conv::operator =): Duplicate conv_handle.
(path_conv::handle): New method.
(path_conv::access): New method.
(path_conv::reset_conv_handle): New method.
(path_conv::close_conv_handle): New method.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4960&r2=1.4961
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.215&r2=1.216
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.366&r2=1.367
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.401&r2=1.402
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.327&r2=1.328
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&r1=1.99&r2=1.100
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.596&r2=1.597
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.143&r2=1.144
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=src&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.560&r2=1.561



src/winsup/cygwin ChangeLog dtable.cc

2010-04-19 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2010-04-19 16:25:11

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Set dev to
valid content for ptys.  Remove setting FILE_CREATE_PIPE_INSTANCE
in access flags since it's not needed.  Set the access mask for
kernel objects according to what's returned by NtQueryInformationFile,
info class FileAccessInformation.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4915&r2=1.4916
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.213&r2=1.214



winsup/cygwin ChangeLog dtable.cc fhandler_tty.cc

2010-04-02 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2010-04-02 15:41:27

Modified files:
cygwin : ChangeLog dtable.cc fhandler_tty.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Avoid adding fh to 
fdtab until
we know that it is good.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Handle error
conditions more consistently.  Avoid handle leakage on error.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4889&r2=1.4890
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.212&r2=1.213
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.194&r2=1.195



src/winsup/cygwin ChangeLog dtable.cc

2009-11-26 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-11-26 10:58:06

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather than
hMainProc as process handle when duplicating the stdout handle.
Explain why.  Add Win32 error code to debug output.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4727&r2=1.4728
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.208&r2=1.209



src/winsup/cygwin ChangeLog dtable.cc external ...

2009-10-31 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-10-31 13:24:07

Modified files:
winsup/cygwin  : ChangeLog dtable.cc external.cc 
 fhandler_fifo.cc globals.cc mount.cc pipe.cc 
 shared.cc shared_info.h uinfo.cc 
winsup/cygwin/include/cygwin: version.h 
winsup/cygwin/include/sys: cygwin.h 
Added files:
winsup/cygwin  : cygprops.h 

Log message:
* cygprops.h: New file.
* dtable.cc (handle_to_fn): Add check for correct installation_key
string in object name for pipes and ttys.
* external.cc (cygwin_internal): Add CW_GET_INSTKEY to allow fetching
the installation_key from cygserver.
* fhandler_fifo.cc (fhandler_fifo::fifo_name): Add installation_key
to fifo name.
* globals.cc: Include cygprops.h.
(_RDATA): Move slightly and add comment.
(cygwin_props): Define.
* mount.cc (mount_info::init): Accommodate the fact that
installation_root is now a global variable in DLL common shared memory,
rather than a member of cygwin_shared.
* pipe.cc (fhandler_pipe::create_selectable): Add installation_key to
pipe name.
* shared.cc (installation_root): Define here for storage in DLL
common shared memory.
(installation_key): Ditto.
(installation_key_buf): Ditto.
(init_installation_root): Convert from shared_info method to ordinary
function.  Add initializing installation_key.  Invalidate
installation_key depending of value of disable_key property.  Add
comment to explain.
(get_shared_parent_dir): Add installation_key to directory name.
(get_session_parent_dir): Ditto.
(shared_info::initialize): Move call to init_installation_root from
here...
(memory_init): ...to here.  Add debug output to print installation root
and installation key.  Add comment to explain why.
* shared_info.h (SHARED_INFO_CB): Recalculate.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Remove definition of installation_root and
declaration of init_installation_root.
(init_installation_root): Declare.
(installation_root): Declare.
(installation_key): Declare.
* uinfo.cc (pwdgrp::load): Accommodate the fact that installation_root
is now a global variable in DLL common shared memory.
* include/cygwin/version.h: Bump API minor number.
(CYGWIN_INFO_INSTALLATIONS_NAME): Add.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_INSTKEY.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygprops.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4701&r2=1.4702
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.206&r2=1.207
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/external.cc.diff?cvsroot=src&r1=1.111&r2=1.112
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=src&r1=1.35&r2=1.36
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/globals.cc.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mount.cc.diff?cvsroot=src&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=src&r1=1.117&r2=1.118
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared.cc.diff?cvsroot=src&r1=1.127&r2=1.128
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared_info.h.diff?cvsroot=src&r1=1.84&r2=1.85
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.170&r2=1.171
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&r1=1.301&r2=1.302
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/cygwin.h.diff?cvsroot=src&r1=1.82&r2=1.83



src/winsup/cygwin ChangeLog dtable.cc dtable.h ...

2009-09-21 Thread ericb
CVSROOT:/cvs/src
Module name:src
Changes by: er...@sourceware.org2009-09-22 04:09:03

Modified files:
winsup/cygwin  : ChangeLog dtable.cc dtable.h fcntl.cc 
 resource.cc syscalls.cc 

Log message:
Match dup2 and fcntl error values to POSIX.

* dtable.h (OPEN_MAX_MAX): New macro.
* resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it.
* dtable.cc (dtable::extend): Likewise.
* fcntl.cc (fcntl64): Obey POSIX rule with too-large F_DUPFD.
* syscalls.cc (dup2): Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4648&r2=1.4649
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.205&r2=1.206
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.48&r2=1.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fcntl.cc.diff?cvsroot=src&r1=1.30&r2=1.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/resource.cc.diff?cvsroot=src&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.531&r2=1.532



src/winsup/cygwin ChangeLog dtable.cc dtable.h ...

2009-08-20 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-08-20 08:34:22

Modified files:
winsup/cygwin  : ChangeLog dtable.cc dtable.h mmap.cc 

Log message:
* dtable.cc (build_fh_dev): Take additional bool parameter indicating
whether set_name should be called or not.
(dtable::dup_worker): Call build_fh_pc with new second parameter set
to false.  Explain why.  If fhandler's dup failed, delete rather than
cfree newfh and set newfh to NULL to indicate failure correctly.
* dtable.h (build_fh_pc): Change declaration according to above change.
Default set_name parameter to true.
* mmap.cc (mmap_record::free_fh): Delete rather than cfree fh.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4631&r2=1.4632
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.204&r2=1.205
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.47&r2=1.48
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&r1=1.159&r2=1.160



winsup/cygwin ChangeLog dtable.cc fhandler.h

2009-08-18 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2009-08-18 15:21:47

Modified files:
cygwin : ChangeLog dtable.cc fhandler.h 

Log message:
* dtable.cc (dtable::fixup_after_exec): Close any popen'ed file handles 
here.
* fhandler.h (fhandler_*::ispipe): New function.
(fhandler_base::get_popen_pid): Define virtual function.
(fhandler_*::isdevice): Make const.
(fhandler_*::isfifo): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4630&r2=1.4631
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.203&r2=1.204
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.378&r2=1.379



src/winsup/cygwin ChangeLog dtable.cc

2009-08-10 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-08-10 15:38:37

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (DEV_SOCKET): New static WCHAR string.  Name of
the native NT socket device.
(dtable::init_std_file_from_handle): Remove unused tmp_pathbuf
variable.  Move check for sockets into FILE_TYPE_PIPE clause.
Rely on handle_to_fn having recognized socket, or check if
getsockopt works to accommodate NT4 shortcoming.
(handle_to_fn): Use tmp_pathbuf for OBJECT_NAME_INFORMATION
buffer and simplify code due to that.  Check name returned by
NtQueryObject for socket device.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4616&r2=1.4617
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.202&r2=1.203



src/winsup/cygwin ChangeLog dtable.cc wincap.cc

2009-08-08 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-08-08 20:24:55

Modified files:
winsup/cygwin  : ChangeLog dtable.cc wincap.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Fix comment to
document change in the Windows 7 workaround.
* wincap.cc (wincapc::init): Don't set has_console_handle_problem
to false on 32 bit systems.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4613&r2=1.4614
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.201&r2=1.202
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.cc.diff?cvsroot=src&r1=1.94&r2=1.95



src/winsup/cygwin ChangeLog dtable.cc

2009-07-21 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-07-21 13:29:00

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dup2): Correct return value for no-op.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4582&r2=1.4583
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.199&r2=1.200



winsup/cygwin ChangeLog dtable.cc

2009-07-06 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2009-07-06 15:11:30

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (handle_to_fn): Detect failing NtQueryObject.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4553&r2=1.4554
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.198&r2=1.199



src/winsup/cygwin ChangeLog dtable.cc wincap.c ...

2009-05-09 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-05-09 15:56:37

Modified files:
winsup/cygwin  : ChangeLog dtable.cc wincap.cc wincap.h 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Add workaround for
Windows 7 64 bit issue.  Add lengthy comment to explain what happens.
* wincap.h (wincaps::has_console_handle_problem): New element.
* wincap.cc: Implement above element throughout.
(wincap_7): New wincaps structure for NT 6.1 kernels.
(wincapc::init): Set has_console_handle_problem to false for 32 bit
systems.

Fix broken older ChangeLog entry.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4482&r2=1.4483
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.195&r2=1.196
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.cc.diff?cvsroot=src&r1=1.91&r2=1.92
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wincap.h.diff?cvsroot=src&r1=1.75&r2=1.76



winsup/cygwin ChangeLog dtable.cc fhandler.h s ...

2009-02-26 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2009-02-27 00:34:40

Modified files:
cygwin : ChangeLog dtable.cc fhandler.h select.cc 
 shared_info.h 

Log message:
* dtable.cc (dtable::select_read): Add ability to override fh.
* fhandler.h (fhandler_fifo::select_read): Declare new function.
(fhandler_fifo::select_write): Ditto.
(fhandler_fifo::select_except): Ditto.
* select.cc (peek_pipe): Treat certain classes of pipe errors as "no 
data".
(fhandler_fifo::select_read): Define new function.
(fhandler_fifo::select_write): Ditto.
(fhandler_fifo::select_except): Ditto.
* shared_info.h (CURR_SHARED_MAGIC): Update.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4388&r2=1.4389
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.194&r2=1.195
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.356&r2=1.357
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.145&r2=1.146
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/shared_info.h.diff?cvsroot=uberbaum&r1=1.79&r2=1.80



src/winsup/cygwin ChangeLog dtable.cc

2008-10-17 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-10-17 16:24:20

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::get_debugger_info): Call SetStdHandle
for the newly opened handle.  Explain why.
(dtable::stdio_init): Don't duplicate standard error handle
when stderr has already been created under debugger control.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4287&r2=1.4288
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.192&r2=1.193



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2008-05-13 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-05-13 13:44:04

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.h path.cc path.h 

Log message:
* path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
Never strip trailing dots and spaces.
* (path_conv::check): Accomodate above change.
* path.h (path_conv::operator=): Ditto
* dtable.cc (build_fh_dev): Ditto.
* fhandler.h (fhandler_base::set_name): Ditto.

* path.cc (transform_chars): Disable converting trailing dots and
spaces.

* path.cc (path_conv::check): Remove two disabled code snippets.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4138&r2=1.4139
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.190&r2=1.191
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.343&r2=1.344
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.495&r2=1.496
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.117&r2=1.118



src/winsup/cygwin ChangeLog dtable.cc dtable.h ...

2008-04-30 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-04-30 09:51:38

Modified files:
winsup/cygwin  : ChangeLog dtable.cc dtable.h fhandler.h fork.cc 
 spawn.cc 

Log message:
* dtable.cc (dtable::release): Drop fixup_before handling.
(dtable::fixup_before_fork): Remove.
(dtable::fixup_before_exec): Remove.
* dtable.h (class dtable): Remove cnt_need_fixup_before member.
(dtable::dtable): Accommodate above change.
(dtable::dec_need_fixup_before): Remove.
(dtable::inc_need_fixup_before): Remove.
(dtable::need_fixup_before): Remove.
(dtable::fixup_before_exec): Remove declaration.
(dtable::fixup_before_fork): Ditto.
* fhandler.h (fhandler_base::fixup_before_fork_exec): Remove.
(fhandler_base::need_fixup_before): Remove.
* fork.cc (frok::parent): Drop fixup_before handling.
* spawn.cc (spawn_guts): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4133&r2=1.4134
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.189&r2=1.190
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.45&r2=1.46
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.342&r2=1.343
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.199&r2=1.200
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.259&r2=1.260



src/winsup/cygwin ChangeLog dtable.cc

2008-04-17 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2008-04-17 09:29:51

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Fix pipe related test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.3582.2.60&r2=1.3582.2.61
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.169.4.6&r2=1.169.4.7



winsup/cygwin ChangeLog dtable.cc

2008-03-22 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2008-03-22 21:27:05

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (handle_to_fn): Modify to return true if handle represents 
a cygwin
tty.
(dtable::init_std_file_from_handle): Detect when we've seen a cygwin 
pipe and
use it in overlapped mode by default.
(decode_tty): Make static.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4066&r2=1.4067
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.186&r2=1.187



winsup/cygwin ChangeLog dtable.cc dtable.h fha ...

2008-03-22 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2008-03-22 21:04:16

Modified files:
cygwin : ChangeLog dtable.cc dtable.h fhandler.h 
 fhandler_tty.cc miscfuncs.cc path.cc path.h 
 pipe.cc 

Log message:
* dtable.cc: Define various device-related string constants as wide 
character
constants.
(dtable::init_std_file_from_handle): Reorganize pipe handling to try to 
catch
special tty case.
(build_fh_name_worker): Declare for common use.
(build_fh_name): Define char version.
(build_fh_name): Define (currently unused) UNICODE_STRING version.
(decode_tty): Detect if pipe is actually a cygwin tty, returning the 
tty name
in the buffer.
(handle_to_fn): Reorganize to use wide characters.
* dtable.h (build_fh_name): Declare (currently unused) UNICODE_STRING 
version.
* fhandler_tty.cc (fhandler_pty_master::setup): Use
fhandler_pipe::create_selectable to create a pipe with a given name.
* pipe.cc (pipe_handler): Make returned handle inheritable.
(fhandler_pipe::create_selectable): Take an optional name.  Use a 
standard
cygwin introducer for the name.
* path.cc (path_conv::check): Make first argument const.
* path.h (path_conv::check): Ditto for declaration.
(path_conv::path_conv): Ditto for UNICODE_STRING version.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4065&r2=1.4066
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.185&r2=1.186
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.336&r2=1.337
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.179&r2=1.180
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/miscfuncs.cc.diff?cvsroot=uberbaum&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.480&r2=1.481
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.h.diff?cvsroot=uberbaum&r1=1.113&r2=1.114
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.103&r2=1.104



src/winsup/cygwin ChangeLog dtable.cc

2008-03-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-03-11 13:17:53

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Use tmp_pathbuf to
allocate path buffer.
(handle_to_fn): Ditto.  Allocate fnbuf big enough to get long path
names.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4051&r2=1.4052
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.183&r2=1.184



src/winsup/cygwin ChangeLog dtable.cc

2008-03-07 Thread briand
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-03-08 03:28:35

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (handle_to_fn): Null-terminate posix_fn in the case
of justslash = true.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4043&r2=1.4044
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.182&r2=1.183



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2008-03-04 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2008-03-04 22:30:28

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler_dsp.cc 
 fhandler_tty.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Set access to
read/write if handle is connected to a tty or console.
* fhandler_dsp.cc (fhandler_dev_dsp::dup): Set open flags correctly
after duplicating from archetype.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
(fhandler_pty_master::dup): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.3582.2.57&r2=1.3582.2.58
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.169.4.5&r2=1.169.4.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_dsp.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.46&r2=1.46.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.174&r2=1.174.2.1



winsup/cygwin ChangeLog dtable.cc fhandler.cc ...

2008-02-21 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2008-02-21 17:37:32

Modified files:
cygwin : ChangeLog dtable.cc fhandler.cc fhandler.h 
 pipe.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Try harder to make a 
pipe into
a full-cygwin device.
(handle_to_fn): Change \ to / when necessary.
* fhandler.cc (fhandler_base::init): Change bin to mode.
* fhandler.h (fhandler_pipe::init): Declare.
* pipe.cc (fhandler_pipe::init): Define.
(handler_pipe::open): Move initialization code into init.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cr-0x5f1&r1=1.3582.2.52&r2=1.3582.2.53
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&only_with_tag=cr-0x5f1&r1=1.169.4.4&r2=1.169.4.5
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&only_with_tag=cr-0x5f1&r1=1.256.2.4&r2=1.256.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&only_with_tag=cr-0x5f1&r1=1.298.2.2&r2=1.298.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&only_with_tag=cr-0x5f1&r1=1.90.2.1&r2=1.90.2.2



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2008-02-07 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2008-02-07 18:59:40

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler_dsp.cc 
 fhandler_tty.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Set access to
read/write of handle is connected to a tty or console.
* fhandler_dsp.cc (fhandler_dev_dsp::dup): Set open flags correctly
after duplicating from archetype.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
(fhandler_pty_master::dup): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4001&r2=1.4002
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.180&r2=1.181
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_dsp.cc.diff?cvsroot=src&r1=1.47&r2=1.48
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.178&r2=1.179



winsup/cygwin ChangeLog dtable.cc fhandler.cc ...

2007-12-16 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2007-12-16 21:21:23

Modified files:
cygwin : ChangeLog dtable.cc fhandler.cc fhandler.h 
 pipe.cc exceptions.cc 

Log message:
* dtable.cc (POSIX_NAMED_PIPE): New define.
(POSIX_NAMED_PIPE_LEN): Ditto.
(dtable::add_archetype): Use crealloc_abort.
(dtable::init_std_file_from_handle): Specifically detect pipe 
stdin/stdout.
Pass name to build_fh_dev so that proper name is recorded.  Use binmode 
of fh
if it is set before using get_default_mode.  Set proper read/write 
access when
calling init().
(handle_to_fn): Handle pipes.
* fhandler.cc (fhandler_base::wait_overlapped): Add some debugging.
* fhandler.h (fhandler_base::set_name): Default to just setting the 
path_conv
name.
(fhandler_pipe::init): Declare.
* pipe.cc (struct pipesync): New struct.
(getov_result): New function.  Blocks and retrieves the result of an 
overlay
I/O operation.
(pipe_handler): New function.
(pipesync::pipesync): New function.  Initializer for pipesync struct.
(handler_pipe::init): Define.  Detects attempts to set up a "native" 
pipe
fhandler and creates a thread which accepts input from or output to the
non-cygwin pipe, creating a cygwin pipe wrapper around the non-cygwin 
pipe.
(fhandler_pipe::create): Add pipe-specific flags to call to init().
* exceptions.cc (ctrl_c_handler): Lock process while we determine what 
to do.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3977&r2=1.3978
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.179&r2=1.180
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.307&r2=1.308
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.328&r2=1.329
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.98&r2=1.99
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.306&r2=1.307



src/winsup/cygwin ChangeLog dtable.cc spawn.cc

2007-12-14 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2007-12-14 11:32:50

Modified files:
winsup/cygwin  : ChangeLog dtable.cc spawn.cc 

Log message:
* dtable.cc (dtable::set_file_pointers_for_exec): Reenable.  Fix
comment.
* spawn.cc (spawn_guts): Call cygheap->fdtab.set_file_pointers_for_exec
only for non-Cygwin processes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.3582.2.44&r2=1.3582.2.45
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.169.4.3&r2=1.169.4.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=cr-0x5f1&r1=1.233.2.4&r2=1.233.2.5



src/winsup/cygwin ChangeLog dtable.cc spawn.cc

2007-12-14 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-12-14 11:32:40

Modified files:
winsup/cygwin  : ChangeLog dtable.cc spawn.cc 

Log message:
* dtable.cc (dtable::set_file_pointers_for_exec): Reenable.  Fix
comment.
* spawn.cc (spawn_guts): Call cygheap->fdtab.set_file_pointers_for_exec
only for non-Cygwin processes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3975&r2=1.3976
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.249&r2=1.250



winsup/cygwin ChangeLog dtable.cc dtable.h fha ...

2007-07-07 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2007-07-07 17:00:33

Modified files:
cygwin : ChangeLog dtable.cc dtable.h fhandler.cc 
 fhandler.h fhandler_fifo.cc pinfo.cc pinfo.h 
 pipe.cc select.cc 

Log message:
Preliminary change to make fifos/pipes interruptible and fifos reliable.
* dtable.cc (dtable::find_fifo): Eliminate definition.
* dtable.h (dtable::find_fifo): Ditto for declaration.
* fhandler.cc (fhandler_base::raw_read): Remove pipe-specific stuff.
(fhandler_base::fhandler_base): Ditto.
(fhandler_base::close): Handle overlapped I/O structure if appropriate.
(fhandler_base::dup): Ditto.
(fhandler_base::fork_fixup): Ditto.
(fhandler_base::setup_overlapped): Define new function.
(fhandler_base::destroy_overlapped): Ditto.
(fhandler_base::wait_overlapped): Ditto.
(fhandler_base::read_overlapped): Ditto.
(fhandler_base::write_overlapped): Ditto.
* fhandler.h (fhandler_base::get_overlapped): Declare new function.
(fhandler_base::setup_overlapped): Ditto.
(fhandler_base::destroy_overlapped): Ditto.
(fhandler_base::wait_overlapped): Ditto.
(fhandler_base::read_overlapped): Ditto.
(fhandler_base::write_overlapped): Ditto.
(fhandler_base::get_guard): Eliminate.
(fhandler_pipe::*): Rework to eliminate most Win9x related cruft, 
removing many
variables and defining a new overlapped capability.
(fhandler_fifo::*): Ditto.
(fifo_state): Declare new enum.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Remove old Win9x 
stuff.
Initialize overlapped handle to NULL.
(fhandler_fifo::set_use): Eliminate.
(fhandler_fifo::open_nonserver): Define.
(fhandler_fifo::open): Rework to use named pipes and overlapped I/O.
(fhandler_fifo::wait): Define new function to wait for named pipe 
connection.
(fhandler_fifo::read): Rework to use wait() and new overlapped I/O
functionality.
(fhandler_fifo::write): Ditto.
(fhandler_fifo::dup): Eliminate.
* pinfo.cc (commune_process): Remove fifo handling.
(_pinfo::commune_request): Ditto.
* pinfo.h (picom): Ditto.
* pipe.cc (fhandler_pipe::fhandler_pipe): Remove Win9x stuff.  
Initialize
overlapped handle to NULL.
(fhandler_pipe::open): Eliminate Win9x stuff.
(fhandler_pipe::set_close_on_exec): Eliminate.
(read_pipe): Eliminate.
(fhandler_pipe::close): Ditto.
(fhandler_pipe::fixup_after_exec): Ditto.
(fhandler_pipe::fixup_in_child): Ditto.
(fhandler_pipe::read): Rework to use overlapped I/O.
(fhandler_pipe::write): New function using overlapped I/O.
(fhandler_pipe::dup): Rework to eliminate Win9x stuff.
(fhandler_pipe::create_selectable): Rework to eliminate Win9x and use
overlapped I/O.
* select.cc (peek_pipe): Rework to eliminate Win9x stuff and use 
overlapped
I/O.
(fhandler_base::ready_for_read): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3833&r2=1.3834
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.174&r2=1.175
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.290&r2=1.291
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.315&r2=1.316
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=uberbaum&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.237&r2=1.238
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.h.diff?cvsroot=uberbaum&r1=1.101&r2=1.102
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.94&r2=1.95
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.134&r2=1.135



src/winsup/cygwin ChangeLog dtable.cc

2006-11-06 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-11-06 13:46:24

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (build_fh_pc): Add missing DEV_SD1_MAJOR case (Thanks to
Joe Loh for noticing).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3644&r2=1.3645
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.169&r2=1.170



winsup/cygwin ChangeLog dtable.cc fhandler_con ...

2006-04-21 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2006-04-21 18:53:05

Modified files:
cygwin : ChangeLog dtable.cc fhandler_console.cc 
 fhandler_termios.cc tty.h 

Log message:
* tty.h (tty::hwnd): Move to tty_min.
(tty::gethwnd): Ditto.
(tty::sethwnd): Ditto.
(tty_min::hwnd): Receive variable from tty class.
(tty_min::gethwnd): Receive function from tty classs.
(tty_min::sethwnd): Ditto.
* dtable.cc (dtable::stdio_init): Only call init_console_handler when we
actually own the console.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Set tty's hwnd 
to
non-zero value.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Semi-reinstate 
handling of
console when pgrp is set.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3488&r2=1.3489
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.166&r2=1.167
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.161&r2=1.162
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.67&r2=1.68
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/tty.h.diff?cvsroot=uberbaum&r1=1.20&r2=1.21



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2006-02-07 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-02-07 15:49:08

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler_disk_file.cc 
 miscfuncs.cc security.cc uinfo.cc winsup.h 

Log message:
* dtable.cc (handle_to_fn): Accomodate new argument order in call to
sys_wcstombs.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Call sys_wcstombs
instead of just wcstombs to accomodate OEM codepages.
* miscfuncs.cc (sys_wcstombs): Split len argument in source and target
length.  Always 0-terminate result in target string.
* security.cc (lsa2wchar): Remove unused function.
(lsa2str): Ditto.
(get_lsa_srv_inf): Ditto.
(get_logon_server): Accomodate new argument order in call to
sys_wcstombs.
(get_user_groups): Ditto.
(get_user_local_groups): Ditto.
(get_priv_list): Call sys_wcstombs directly instead of lsa2str.
* uinfo.cc (cygheap_user::ontherange): Accomodate new argument order
in call to sys_wcstombs.
* winsup.h (sys_wcstombs): Change prototype to match new argument order.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3389&r2=1.3390
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.163&r2=1.164
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.168&r2=1.169
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/miscfuncs.cc.diff?cvsroot=src&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.192&r2=1.193
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.142&r2=1.143
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.182&r2=1.183



winsup/cygwin ChangeLog dtable.cc fhandler.h f ...

2005-12-18 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-12-19 04:34:14

Modified files:
cygwin : ChangeLog dtable.cc fhandler.h 
 fhandler_console.cc fhandler_tty.cc pipe.cc 
 sigproc.cc spawn.cc 

Log message:
* fhandler.h (fhandler_pipe::fixup_in_child): Declare new function.
(fhandler_console::invisible_console): Declare new variable.
(fhandler_console::need_invisible): Ditto.
(fhandler_console::has_a): Ditto.
* fhandler_console.cc (set_console_state_for_spawn): Eliminate return 
value.
Set up an invisible console if necessary prior to spawning.
(fhandler_console::invisible_console): Define.
* fhandler_tty.cc (fhandler_tty_slave::open): Use
fhandler_console::invisible_console to setup an invisible console.
* pipe.cc (fhandler_pipe::fixup_in_child): Define new function from
fixup_after_exec.
(fhandler_pipe::fixup_after_exec): Use fixup_in_child when appropriate.
(fhandler_pipe::fixup_after_fork): Ditto.
* spawn.cc (handle): Reorganize and modernize a little.
(spawn_guts): Rely on set_console_state_for_spawn to set the console 
into the
right state but don't create the process with "detached" flag if we 
have no
controlling tty since that confuses 'cmd'.
* dtable.cc (dtable::stdio_init): Don't set console as controlling 
terminal if
we have an invisible console.
* sigproc.cc (child_info::sync): Use correct name in ForceCloseHandle1.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3268&r2=1.3269
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.162&r2=1.163
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.275&r2=1.276
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.146&r2=1.147
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.157&r2=1.158
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.84&r2=1.85
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.265&r2=1.266
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.198&r2=1.199



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2005-05-08 Thread phumblet
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2005-05-09 02:39:35

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.h 
 fhandler_netdrive.cc path.cc 

Log message:
2005-05-09  Pierre Humblet <[EMAIL PROTECTED]>

* fhandler.h (class fhandler_netdrive): New class.
* fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New 
constructor.
(fhandler_netdrive::exists): New method.
(fhandler_netdrive::fstat): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_netdrive::open): Ditto.
* dtable.cc (build_fh_pc): Handle case FH_NETDRIVE.
* path.cc (isvirtual_dev): Add FH_NETDRIVE.
(mount_info::conv_to_win32_path): Detect netdrive device and bypass 
mount
search for network paths.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2875&r2=1.2876
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.149&r2=1.150
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.243&r2=1.244
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_netdrive.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.369&r2=1.370



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2004-12-23 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-12-23 21:37:44

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.cc path.cc path.h 

Log message:
* path.h (path_conv::set_normalized_path): Add second argument and fill 
it in
throughout.
* path.cc (path_conv::check): Declare, set and use "strip_tail".
(path_conv::set_normalized_path): Add and use second argument, 
replacing all
tail stripping tests.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2636&r2=1.2637
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.143&r2=1.144
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.210&r2=1.211
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.334&r2=1.335
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.67&r2=1.68



src/winsup/cygwin ChangeLog dtable.cc

2004-07-23 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-07-23 09:04:59

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::get_debugger_info): Make stderr r/w according
to SUSv3.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2524&r2=1.2525
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.141&r2=1.142



src/winsup/cygwin ChangeLog dtable.cc

2004-04-10 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-04-11 04:00:02

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::extend): Change order of memcpy and cfree.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2417&r2=1.2418
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.139&r2=1.140



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2004-04-10 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-04-10 13:45:10

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.cc fhandler.h 
 fhandler_clipboard.cc fhandler_console.cc 
 fhandler_disk_file.cc fhandler_dsp.cc 
 fhandler_fifo.cc fhandler_proc.cc 
 fhandler_process.cc fhandler_random.cc 
 fhandler_raw.cc fhandler_serial.cc 
 fhandler_socket.cc fhandler_termios.cc 
 fhandler_tty.cc fhandler_virtual.cc 
 fhandler_windows.cc fhandler_zero.cc mtinfo.h 
 net.cc path.cc path.h pipe.cc select.cc 
 spawn.cc syscalls.cc tty.h 

Log message:
* Use new unified status_flag accessor methods from classes fhandler_*,
tty_min, mtinfo and fs_info thoroughout.
* fhandler.h: Redefine all set_close_on_exec methods to take a bool
argument.
(enum conn_state): Rename from connect_state.
(class fhandler_base): Rename some status flags to align with
accessor method names.  Drop encoded flag entirely.  Unify status
accessor methods.  Const'ify all read accessor methods.
(class fhandler_socket): Ditto.
(class fhandler_dev_raw): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Use fs.fs_is_fat()
instead of evaluating FATness of file system here.
(fhandler_disk_file::opendir): Drop call to set_encoded().
(fhandler_disk_file::readdir): Use pc.isencoded() directly.
* mtinfo.h (class mtinfo_drive): Const'ify all read accessor methods.
* path.cc (fsinfo_cnt): Add.
(fs_info::update): Accomodate class changes. Evaluate file system
name specific flags right here. Add thread safety for reading and
writing global fsinfo array.
* path.h (enum path_types): Drop values for flags kept in fs already.
(struct fs_info): Move status informatin into private struct type
status_flags.  Add accessor methods. Remove path and file system
name string arrays in favor of status bits.
(class path_conv): Use new fs_info status information where
appropriate.
(path_conf::fs_has_ea): Rename from fs_fast_ea.
(path_conf::fs_has_acls): New method.
(path_conf::root_dir): Remove.
(path_conf::volname): Remove.
* syscalls (statfs): Evaluate root dir locally.
* tty.h (class tty_min): Unify status accessor methods.  Const'ify
all read accessor methods.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2413&r2=1.2414
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.138&r2=1.139
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.180&r2=1.181
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.198&r2=1.199
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_clipboard.cc.diff?cvsroot=src&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=src&r1=1.126&r2=1.127
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.81&r2=1.82
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_dsp.cc.diff?cvsroot=src&r1=1.33&r2=1.34
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=src&r1=1.40&r2=1.41
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_process.cc.diff?cvsroot=src&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_random.cc.diff?cvsroot=src&r1=1.30&r2=1.31
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_raw.cc.diff?cvsroot=src&r1=1.45&r2=1.46
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=src&r1=1.51&r2=1.52
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.130&r2=1.131
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=src&r1=1.53&r2=1.54
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.129&r2=1.130
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_virtual.cc.diff?cvsroot=src&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_wi

src/winsup/cygwin ChangeLog dtable.cc signal.c ...

2004-01-16 Thread cgf
CVSROOT:/cvs/src
Module name:src
Branch: cgf-deleteme
Changes by: [EMAIL PROTECTED]   2004-01-17 05:51:36

Modified files:
winsup/cygwin  : ChangeLog dtable.cc signal.cc 
winsup/cygwin/include/cygwin: signal.h 

Log message:
* signal.cc (sigwaitinfo): Define new function.
(sigwait): Redefine based on sigwaitinfo.
* include/cygwin/signal.h (sigwaitinfo): Declare.
(sigwait): Ditto.
* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
ctty == ctty_on_hold.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.2260.2.8&r2=1.2260.2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.131.2.3&r2=1.131.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.55.2.2&r2=1.55.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.1.2.2&r2=1.1.2.3



src/winsup/cygwin ChangeLog dtable.cc

2004-01-16 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-01-17 05:49:42

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
ctty == ctty_on_hold.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2265&r2=1.2266
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.133&r2=1.134



src/winsup/cygwin ChangeLog dtable.cc

2004-01-16 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-01-16 21:51:30

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::vfork_parent_restore): Store ctty_on_hold prior to calling
close_all_files since it will be zeroed.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2262&r2=1.2263
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.132&r2=1.133



src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2003-12-12 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-12-12 20:46:03

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler_tty.cc 

Log message:
* dtable.cc (dtable::delete_archetype): Add debugging.
(dtable::release): Move archetype deletion here.
(dtable::vfork_child_dup): Increment ctty usecount to catch later
close_all_files case in parent/child.
(dtable::vfork_child_fixup): Avoid using cygheap->foo where this should really
be using local references.  Call close on archetyped handles since the handles
haven't had the noninherit flag set.
* fhandler_tty.cc (fhandler_tty_slave::close): Remove archetype deletion code.
Add defensive error message when DEBUGGING.
(fhandler_tty_common::set_close_on_exec): Use more robust method for checking
whether to set handles into noninherit if there is an archetype associated with
the fhandler.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2233&r2=1.2234
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.126&r2=1.127
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.120&r2=1.121



src/winsup/cygwin ChangeLog dtable.cc

2003-11-19 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-19 11:19:27

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (build_fh_pc): Resurrect accidentally removed
DEV_CYGDRIVE_MAJOR case.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2169&r2=1.2170
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.121&r2=1.122



src/winsup/cygwin ChangeLog dtable.cc

2003-11-13 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-11-14 01:37:23

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.
Remove redundant FH_CYGDRIVE case since it is handled by DEV_CYGDRIVE_MAJOR.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2164&r2=1.2165
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.119&r2=1.120



src/winsup/cygwin ChangeLog dtable.cc

2003-09-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-26 03:26:44

Modified files:
winsup/cygwin  : ChangeLog dtable.cc 

Log message:
* dtable.cc (build_fh_name): Return pointer to a 'nodevice' rather than a NULL
pointer or suffer SEGVs with invalid paths.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2096&r2=1.2097
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.115&r2=1.116



winsup/cygwin ChangeLog dtable.cc fhandler.cc ...

2003-01-04 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Branch: cgf-dev-branch
Changes by: [EMAIL PROTECTED]  2003-01-04 22:48:55

Modified files:
cygwin : ChangeLog dtable.cc fhandler.cc pinfo.cc 

Log message:
* pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just lock when
leaving.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.1656.2.11&r2=1.1656.2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.107.12.6&r2=1.107.12.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.143.4.7&r2=1.143.4.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.74.4.1&r2=1.74.4.2




src/winsup/cygwin ChangeLog dtable.cc dtable.h ...

2003-01-02 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]  2003-01-02 22:20:24

Modified files:
winsup/cygwin  : ChangeLog dtable.cc dtable.h exceptions.cc 
 pipe.cc 

Log message:
* dtable.h (dtable::in_vfork_cleanup): New function.  True if vfork cleanup
needed.
* dtable.cc (dtable::vfork_parent_restore): Remove assertion.
* pipe.cc (fhandler_pipe::close): Don't close read_state during fork_fixup
since it wasn't inherited.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1660&r2=1.1661
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&r1=1.107&r2=1.108
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&r1=1.136&r2=1.137
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=src&r1=1.44&r2=1.45




winsup/cygwin ChangeLog dtable.cc dtable.h exc ...

2003-01-02 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Branch: cgf-dev-branch
Changes by: [EMAIL PROTECTED]  2003-01-02 22:17:24

Modified files:
cygwin : ChangeLog dtable.cc dtable.h exceptions.cc 
 pipe.cc 

Log message:
* dtable.h (dtable::in_vfork_cleanup): New function.  True if vfork cleanup
needed.
* dtable.cc (dtable::vfork_parent_restore): Remove assertion.
* pipe.cc (fhandler_pipe::close): Don't close read_state during fork_fixup
since it wasn't inherited.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.1656.2.8&r2=1.1656.2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.107.12.4&r2=1.107.12.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.19.12.1&r2=1.19.12.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.135.4.1&r2=1.135.4.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.44.4.3&r2=1.44.4.4




winsup/cygwin ChangeLog dtable.cc exceptions.c ...

2003-01-01 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Branch: cgf-dev-branch
Changes by: [EMAIL PROTECTED]  2003-01-01 10:16:37

Modified files:
cygwin : ChangeLog dtable.cc exceptions.cc fhandler.cc 
 fhandler.h fhandler_disk_file.cc passwd.cc 
 sysconf.cc window.cc 

Log message:
* sysconf.cc (sysconf): Return arbitrary values for _SC_GETGR_R_SIZE_MAX,
_SC_LOGIN_NAME_MAX, _SC_GETPW_R_SIZE_MAX.
* passwd.cc (getpwuid_r32): Add uid/gid fields to size check calculation.
* exceptions.cc (events_init): Display name of mutex on failure.
* windows.cc (setitimer): Return ENOSYS on invalid argument.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.1656.2.5&r2=1.1656.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.107.12.3&r2=1.107.12.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.135&r2=1.135.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.143.4.4&r2=1.143.4.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.153.2.4&r2=1.153.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.35.12.3&r2=1.35.12.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/passwd.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.54&r2=1.54.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sysconf.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.24&r2=1.24.16.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/window.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.23&r2=1.23.16.1




winsup/cygwin ChangeLog dtable.cc fhandler.cc ...

2002-12-28 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Branch: cgf-dev-branch
Changes by: [EMAIL PROTECTED]  2002-12-28 08:56:17

Modified files:
cygwin : ChangeLog dtable.cc fhandler.cc fhandler.h 
 fhandler_console.cc fhandler_floppy.cc 
 fhandler_mem.cc fhandler_random.cc 
 fhandler_raw.cc fhandler_serial.cc 
 fhandler_socket.cc fhandler_tape.cc 
 fhandler_tty.cc path.cc pipe.cc syscalls.cc 
 tty.cc 

Log message:
Eliminate unit argument and special unit fields from fhandler classes and
constructors throughout.
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Make decisions based on
specific device type rather than unit number.
* fhandler_random.cc (fhandler_dev_random::write): Ditto.
(fhandler_dev_random::read): Ditto.
* fhandler_socket.cc (fhandler_socket::set_connect_secret): Set device type to
"urandom" after construction of entropy_source.
* path.cc (windows_devices_names): Remove.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.1656.2.2&r2=1.1656.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.107.12.1&r2=1.107.12.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.143.4.1&r2=1.143.4.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.153.2.1&r2=1.153.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.100&r2=1.100.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_floppy.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.24&r2=1.24.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_mem.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.31&r2=1.31.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_random.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.24&r2=1.24.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_raw.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.30&r2=1.30.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_serial.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.38&r2=1.38.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.75&r2=1.75.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tape.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.32&r2=1.32.16.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.88.2.1&r2=1.88.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.234.16.1&r2=1.234.16.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.44.4.1&r2=1.44.4.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.238.4.1&r2=1.238.4.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/tty.cc.diff?cvsroot=uberbaum&only_with_tag=cgf-dev-branch&r1=1.50.6.1&r2=1.50.6.2




winsup/cygwin ChangeLog dtable.cc dtable.h spa ...

2002-10-18 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-17 10:45:10

Modified files:
cygwin : ChangeLog dtable.cc dtable.h spawn.cc 

Log message:
* dtable.cc (dtable::set_file_pointers_for_exec): New function.
* dtable.h (dtable::set_file_pointers_for_exec): Declare new function.
* spawn.cc (spawn_guts): Call dtable::set_file_pointers_for_exec to set
pointers to EOF when execing non-cygwin applications.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1536&r2=1.1537
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.104&r2=1.105
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.117&r2=1.118




winsup/cygwin ChangeLog dtable.cc

2002-10-18 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-17 18:28:49

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Force "devices" to always be
in binary mode.  Temporary fix until ssh is rebuilt?

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1537&r2=1.1538
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.105&r2=1.106




winsup/cygwin ChangeLog dtable.cc

2002-10-07 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-07 19:44:36

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
behavior with files redirected from stdin/stdout/stderr, i.e., fmode settings
take precedence over mount settings.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1520&r2=1.1521
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.102&r2=1.103




winsup/cygwin ChangeLog dtable.cc resource.cc

2002-10-07 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-10-07 13:06:16

Modified files:
cygwin : ChangeLog dtable.cc resource.cc 

Log message:
* dtable.cc (unknown_file): New variable.
(dtable::init_std_file_from_handle): Don't set binmode if we couldn't determine
the actual file name on stdin/stdout/stderr.
(handle_to_fn): Return unknown_file when can't determine filename.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1519&r2=1.1520
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.101&r2=1.102
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/resource.cc.diff?cvsroot=uberbaum&r1=1.23&r2=1.24




src/winsup/cygwin ChangeLog dtable.cc fhandler ...

2002-07-04 Thread scottc

CVSROOT:/cvs/src
Module name:src
Branch: cygwin_daemon
Changes by: [EMAIL PROTECTED]   2002-07-04 13:09:52

Modified files:
winsup/cygwin  : ChangeLog dtable.cc fhandler.cc 
 fhandler_socket.cc path.cc pthread.cc thread.cc 
 thread.h 
winsup/cygwin/include: pthread.h 
winsup/cygwin/include/cygwin: version.h 
Added files:
winsup/cygwin/include/sys: statfs.h 

Log message:
Merged changes from HEAD

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.915.2.78&r2=1.915.2.79
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.54.2.8&r2=1.54.2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.87.2.7&r2=1.87.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.24.2.7&r2=1.24.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.163.2.7&r2=1.163.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pthread.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.10.4.2&r2=1.10.4.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.49.2.9&r2=1.49.2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.27.4.7&r2=1.27.4.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.7.6.3&r2=1.7.6.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.48.2.6&r2=1.48.2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/statfs.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=NONE&r2=1.1.2.1




winsup/cygwin ChangeLog dtable.cc fhandler.cc ...

2002-07-03 Thread cgf

CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-07-03 11:02:54

Modified files:
cygwin : ChangeLog dtable.cc fhandler.cc path.cc 

Log message:
* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none
specified.
* fhandler.cc (fhandler_base::init): Make bin argument a guarantee rather than
a suggestion.
* path.cc (path_conv::check): Load flag returned from cygwin_conv_to_win32_path
into path_flags.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1368&r2=1.1369
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.98&r2=1.99
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.130&r2=1.131
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.225&r2=1.226