Re: Typo in ?

2022-07-06 Thread Ken Brown
On 7/6/2022 11:57 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: However, discussing this shows how irrelevant the actual default value of FD_SETSIZE is. Correct, yet the comments in the header files (along with used values) should be consistent :-) I'll make the changes that

Re: Typo in ?

2022-07-06 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> However, discussing this shows how irrelevant the actual default value > of FD_SETSIZE is. Correct, yet the comments in the header files (along with used values) should be consistent :-) > [...] to define FD_SETSIZE according to its requirements anyway. That'd work for CYGWIN right away;

Re: Typo in ?

2022-07-06 Thread Corinna Vinschen
On Jul 6 14:26, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > DESCRIPTION > >WARNING: select() can monitor only file descriptors numbers that > > are > >less than FD_SETSIZE (1024)-an unreasonably low limit for many > > modern > > Whoever wrote this, was wrong

Re: Typo in ?

2022-07-06 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> DESCRIPTION >WARNING: select() can monitor only file descriptors numbers that are >less than FD_SETSIZE (1024)-an unreasonably low limit for many modern Whoever wrote this, was wrong (they might have never consulted the actual kernel code, or were just blindsided by

Re: Typo in ?

2022-07-06 Thread Corinna Vinschen
On Jul 6 16:15, Corinna Vinschen wrote: > On Jul 6 15:01, Jon Turney wrote: > > Remember that 64 is MAXIMUM_WAIT_OBJECTS for WaitForMultipleObjects(), the > > underlying Win32 API used to implement select(), so using more than 64 hits > > some complex code to work around that... > > This isn't

Re: Typo in ?

2022-07-06 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Remember that 64 is MAXIMUM_WAIT_OBJECTS for WaitForMultipleObjects(), > the underlying Win32 API used to implement select(), so using more than > 64 hits some complex code to work around that... True but the complex code (that involves thread spawning, if that's what you're referring to) will

Re: Typo in ?

2022-07-06 Thread Corinna Vinschen
On Jul 6 13:19, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > On Linux, select(2) is really only capable to > > handle file descriptors numbers up to descriptor number 1023, > > That is not true. While FD_SETSIZE is defined as a fixed constant, > Linux kernel does not actually

Re: Typo in ?

2022-07-06 Thread Corinna Vinschen
On Jul 6 15:01, Jon Turney wrote: > On 06/07/2022 08:42, Corinna Vinschen wrote: > > On Jul 5 17:51, Ken Brown wrote: > > > On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin > > > wrote: > > > > I guess we can change FD_SETSIZE to 1024 as on Linux, albeit this has no > >

Re: Typo in ?

2022-07-06 Thread Jon Turney
On 06/07/2022 08:42, Corinna Vinschen wrote: On Jul 5 17:51, Ken Brown wrote: On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: I guess we can change FD_SETSIZE to 1024 as on Linux, albeit this has no real meaning on Cygwin. On Linux, select(2) is really only

Re: Typo in ?

2022-07-06 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> On Linux, select(2) is really only capable to > handle file descriptors numbers up to descriptor number 1023, That is not true. While FD_SETSIZE is defined as a fixed constant, Linux kernel does not actually "know" (or care) about it. So you can have an array of fd_sets, like this, in your

Re: Typo in ?

2022-07-06 Thread Corinna Vinschen
On Jul 5 17:51, Ken Brown wrote: > On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > Hi, > > > > There's some inconsistency between and : > > > > sys/select.h has this: > > --- > > /* > > * Select uses bit masks of file descriptors in longs.

Re: Typo in ?

2022-07-05 Thread Ken Brown
On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Hi, There's some inconsistency between and : sys/select.h has this: --- /* * Select uses bit masks of file descriptors in longs. * These macros manipulate such bit fields (the filesystem

RE: Typo in ?

2022-07-05 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> I'm no expert, but it seems the FD_SETSIZE should have been 128. > Long is 8 bytes, 64 bits. One bit if one open file, 64 * 64 = 4096. FD_SETSIZE is the file descriptor bitset capacity in _BITS_. 64 (as currently in there) means 1 int (on 64 bit platforms, or 2 ints on 32 bit platforms,

Re: Typo in ?

2022-07-05 Thread Andrey Repin
Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]! > There's some inconsistency between and : > sys/select.h has this: > --- > /* > * Select uses bit masks of file descriptors in longs. > * These macros manipulate such bit fields (the filesystem macros use chars). > *

Re: Typo on rpcndr.h

2015-09-07 Thread Corinna Vinschen
On Sep 6 22:10, Alex Rocha wrote: > This is a simple one... Compiling Ruby on Cygwin came with the following > error: > > /usr/include/w32api/rpcndr.h:331:5: error: unknown type name > `GENERIB_BINDING_ROUTINE' > > > Just correct GENERIB_BINDING_ROUTINE to GENERIC_BINDING_ROUTINE. Sure

Re: Typo in Cygwin/X User Guide

2015-08-19 Thread Jon TURNEY
On 19/08/2015 15:00, Ken Brown wrote: The documentation for the compose key at http://x.cygwin.com/docs/ug/using-i18n.html#using-i18n-compose says to start the X server with the -xkboption option. This results in (EE) Fatal server error: (EE) Unrecognized option: -xkboption The correct option

Re: Typo in snapshots /usr/include/cygwin/version.h

2014-07-15 Thread Corinna Vinschen
On Jul 15 02:12, Andrey Repin wrote: Greetings, All! + 273: Introduce account mapping from WIndows account DBs. Add CW_SETENT, ^ erroneous capital i. Fixed. Thanks, Corinna -- Corinna Vinschen Please, send mails

Re: typo in man xterm

2012-07-28 Thread Thomas Dickey
On Sat, Jul 28, 2012 at 02:24:52PM +0200, Paul Maier wrote: Hi, the word not should be added to this description: man xterm [...] +maximized This option indicates that xterm should ask the window manager to maximize its layout on startup. It should

Re: Typo in winsup/cygwin/fhandler_tty.cc

2011-10-09 Thread Christopher Faylor
On Sun, Oct 09, 2011 at 03:32:51PM +0200, Lapo Luchini wrote: I'm not sure if it is maybe a different form or what, but else you might want to sed 's/allmighty/almighty/' winsup/cygwin/fhandler_tty.cc :) I'll fix the misspelling but you're reporting this in the wrong mailing list. cgf

Re: Typo, Cygwin-UG-Net.html for 1.7.x

2009-05-26 Thread Christopher Faylor
On Tue, May 26, 2009 at 07:21:40PM -0700, Jason Mills wrote: FYI- Typo, Cygwin-UG-Net.html for 1.7.x (path still reports 1.5.x?) C:/cygwin/usr/share/doc/cygwin-doc-1.5/cygwin-ug-net.html Found in The CYGWIN environment variable :: Implemented options 'explicitely' should be 'explicitly'

Re: Typo in setup.hint of csih

2008-03-11 Thread Corinna Vinschen
On Mar 11 09:33, Buchbinder, Barry (NIH/NIAID) [E] wrote: category: Util This creates a new category, of which csih is the only package. It probably should be Utils. Thanks, fixed. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project

Re: typo in bool/setup.hint file.

2007-12-04 Thread Jari Aalto
* Mon 2007-12-03 Christopher Faylor [EMAIL PROTECTED] * Message-Id: [EMAIL PROTECTED] release/bool/setup.hint: unknown setup construct 'words separated by hyphens.' at 9 I've fixed this. Noted in package as well Thanks, Jari -- Welcome to FOSS revolution: we fix and modify until it shines

Re: Typo in socket.h

2006-01-19 Thread Corinna Vinschen
On Jan 19 17:27, [EMAIL PROTECTED] wrote: Hi, I have found a bug in /usr/include/cygwin/socket.h: struct sockaddr_storage { sa_family_t ss_familiy; ... should be struct sockaddr_storage { sa_family_t ss_family; ... Some programs won't compile without the

Re: typo in FAQ

2004-09-14 Thread Christopher Faylor
Relabelling subject. On Tue, Sep 14, 2004 at 04:15:51AM -0400, Andrew Schulman wrote: http://cygwin.com/faq/faq_1.html, Is it free software?: ... read the copyright section of the FAQ more more information ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: typo in FAQ #2

2004-09-14 Thread Christopher Faylor
Relabelling subject. On Tue, Sep 14, 2004 at 04:17:55AM -0400, Andrew Schulman wrote: http://cygwin.com/faq/faq_1.html#SEC5: If you are looking for the a version number ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: Typo in generic-build-script

2004-07-16 Thread Igor Pechtchanski
On Thu, 15 Jul 2004, Harold L Hunt II wrote: There is the following in the gbs: if [ -z $MY_CFLAGS ]; then MY_CFLAGS=-O2 fi if [ -z $MY_CFLAGS ]; then MY_LDFLAGS= fi It appears that the second if should be testing '$MY_LDFLAGS', not '$MY_CFLAGS'. Harold Thanks, Harold. Fixed.

Re: Typo in Cygwin website main menu

2004-04-19 Thread Corinna Vinschen
On Apr 19 14:42, Zas wrote: Hi, In main menu present on most pages: trtdcolspan=2a target=_top href=http://x.cygwin.com/;Cygwin/X Home/a/td/tr here Thanks, fixed. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project

Re: Typo on http://xfree86.cygwin.com/ home page

2003-12-17 Thread Harold L Hunt II
Fixed. Thanks. Harold Paul Mackinney wrote: FYI, there's a typo on the Cygwin/X home page, first paragraph of the Downloading and Installing section. s/not yo already/not you already/ hope this is the right place to report it. PM -- Paul Mackinney [EMAIL PROTECTED]

Re: Typo on http://xfree86.cygwin.com/ home page

2003-12-16 Thread Harold L Hunt II
Paul, I dunno, I kinda like the yo. :) I will fix it. Thanks for the catch. Harold Paul Mackinney wrote: FYI, there's a typo on the Cygwin/X home page, first paragraph of the Downloading and Installing section. s/not yo already/not you already/ hope this is the right place to report it.

Re: Typo in generic-readme

2003-01-17 Thread Christopher Faylor
On Fri, Jan 17, 2003 at 09:37:38PM -, Max Bowsher wrote: Robert Collins wrote: On Sat, 2003-01-18 at 07:26, Max Bowsher wrote: Marcel Telka wrote: # grep -n diito generic-readme 19: ftp://... diito it should be ditto IMHO. Hmm. If someone's checking in a fix, fix cygwinize to