Re: [PATCH] Add /proc/devices

2011-08-18 Thread Yaakov (Cygwin/X)
On Thu, 2011-08-04 at 00:20 -0500, Yaakov (Cygwin/X) wrote: This patchset implements /proc/devices[1]: The question is how to handle /dev/tty and /dev/console as the apparently vary now, per cgf's remarks on the main list. Patches for winsup/cygwin and winsup/doc attached. Here is a

[PATCH] Fix warning in winsup/cygserver

2011-08-18 Thread Yaakov (Cygwin/X)
The attached patch fixes the following warning: /usr/src/cygwin/winsup/cygserver/sysv_shm.cc:71:0: warning: ACCESSPERMS redefined /usr/src/cygwin/newlib/libc/include/sys/stat.h:126:0: note: this is the location of the previous definition Yaakov 2011-08-18 Yaakov Selkowitz yselkowitz@... *

Re: [PATCH] Fix warning in winsup/cygserver

2011-08-18 Thread Corinna Vinschen
On Aug 18 13:54, Yaakov (Cygwin/X) wrote: * sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, as this is now defined in sys/stat.h. Please apply. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader

Re: [PATCH] Add /proc/devices

2011-08-18 Thread Corinna Vinschen
On Aug 18 13:50, Yaakov (Cygwin/X) wrote: On Thu, 2011-08-04 at 00:20 -0500, Yaakov (Cygwin/X) wrote: This patchset implements /proc/devices[1]: The question is how to handle /dev/tty and /dev/console as the apparently vary now, per cgf's remarks on the main list. /dev/tty, /dev/console

Re: [PATCH] Add /proc/devices

2011-08-18 Thread Christopher Faylor
On Thu, Aug 18, 2011 at 09:55:37PM +0200, Corinna Vinschen wrote: On Aug 18 13:50, Yaakov (Cygwin/X) wrote: On Thu, 2011-08-04 at 00:20 -0500, Yaakov (Cygwin/X) wrote: This patchset implements /proc/devices[1]: The question is how to handle /dev/tty and /dev/console as the apparently

Re: [PATCH] Add /proc/devices

2011-08-18 Thread Yaakov (Cygwin/X)
On Thu, 2011-08-18 at 21:55 +0200, Corinna Vinschen wrote: 2011-08-18 Yaakov Selkowitz yselkowitz@... * devices.h (fh_devices): Define DEV_MISC_MAJOR, DEV_MEM_MAJOR, DEV_SOUND_MAJOR. Use throughout. * fhandler_proc.cc (proc_tab): Add /proc/devices and /proc/misc