[PATCH]: (Retry) Add get{delim,line} symbol alias to avoid autoconf detection failures

2005-07-09 Thread Nicholas Wourms
Sorry, I forgot to include cdefs.h. The ChangeLog and the fixed patch is attached. Cheers, Nicholas 2005-07-09 Nicholas Wourms <[EMAIL PROTECTED]> * cygwin.din (getline): Add symbol alias to avoid problems with autoconf's AC_CHECK_FUNCS macro. (getdelim

[PATCH]: Add get{delim,line} symbol alias to avoid autoconf detection failures

2005-07-08 Thread Nicholas Wourms
clarity. The patch for doing these operations is attached. I hope you find it satisfactory. Cheers, Nicholas 2005-07-09 Nicholas Wourms <[EMAIL PROTECTED]> * cygwin.din (getline): Add symbol alias to avoid problems with autoconf's AC_CHECK_FUNCS macr

Re: [PATCH]: "decorate" gcc extensions with __extension__

2005-03-30 Thread Nicholas Wourms
Christopher Faylor wrote: > Ok. Again, I don't want to worry about the use of __extension__. If I > am not going to worry about it and Corinna doesn't want to be worrying > about it then I don't see any reason to do it. It doesn't make much > sense to use it if the two principles aren't interes

Re: [PATCH]: "decorate" gcc extensions with __extension__

2005-03-29 Thread Nicholas Wourms
Christopher Faylor wrote: > On Tue, Mar 29, 2005 at 01:52:32PM -0500, Nicholas Wourms wrote: > > You have correctly surmised that both Corinna and I understand what > pedantic mode is. You have to take that thought a step further, > however, and realize that the fact that there is

Re: [PATCH]: "decorate" gcc extensions with __extension__

2005-03-29 Thread Nicholas Wourms
Corinna Vinschen wrote: I don't quite understand why it's necessary to build Cygwin using pedantic mode. In order to catch thinko's and other silly mistakes which might not otherwise show up at regular warning levels. Even little warnings, like comparing signed with unsigned, can lead to trouble

[PATCH]: "decorate" gcc extensions with __extension__

2005-03-26 Thread Nicholas Wourms
Hi All, This patch is the first of many patches as part of my attempt to clean up warnings/errors triggered when building with "-W -Wall pedantic" flags. In this patch, I have "decorated" all occurances of gcc c/c++ extensions with the the __extension__ label. It is necessary to do this since p

Re: Patch 20040321 for audio recording with /dev/dsp (indented), test issues

2004-03-23 Thread Nicholas Wourms
cgf wrote: On Tue, Mar 23, 2004 at 12:09:33PM +0100, Corinna Vinschen wrote: Chris, do you have a personally approved set of indent options which give a useful result, perhaps? No, I don't use indent very often. Gdb has an indent script, though. I've attached it to this message. I can't conf

Re: [Patch]: Win95

2004-03-22 Thread Nicholas Wourms
matt wrote: Can you believe that the address appears 5 times on the stack on Win95, twice on ME, once on NT4.0? Now that the method is stable (after 1.5.10 is released), couldn't we store the offsets in wincap, keeping the adaptive method as a backup in the unknown case? Or are there many variati

*Ping*: fix strace and ssp opts for getopt argument permutation

2004-02-10 Thread Nicholas Wourms
Hi, Can someone please comment on what's holding up this patch: http://sources.redhat.com/ml/cygwin-patches/2003-q4/msg00223.html AFAICT, it was silently dropped without any reason. I'm waiting on someone to commit it so that I can submit my update to getopt which brings in the OpenBSD addition

Re: Patch winuser.h in w32api

2004-01-31 Thread Nicholas Wourms
pechtcha wrote: 3) Patches for w32api should be sent to the mingw-patches mailing list (see ). FYI, they also have their own rules for submitting patches -- see for instructions. Since when? I've seen patches for w32api posted

Re: patch for audio recording with /dev/dsp

2003-12-09 Thread Nicholas Wourms
Gerd Spalink wrote: Hi, This patch changes the device /dev/dsp so that audio recording works. I have tested it with cp /dev/dsp test.wav (stop by hitting ctrl-C) and subsequent playback with cp test.wav /dev/dsp I also tested successfully with bplay of the gramofile package (with some han

Re: [PATCH]: Add flock syscall emulation

2003-12-01 Thread Nicholas Wourms
Corinna wrote: On Sun, Nov 30, 2003 at 12:57:48PM -0500, Nicholas Wourms wrote: Corinna wrote: I've run indent on flock.c since its formatting was non-GNU. I can understand why you did it in this case (the tabs were out of control), but can we make an exception for bsd/isc-derived cod

Re: [PATCH] localtime.cc: Point TZDIR to the /usr/share/zoneinfo

2003-12-01 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: On Mon, Dec 01, 2003 at 10:07:25AM +0100, Dr. Volker Zell wrote: Hi As discussed in cygwin-apps here's a small patch to point cygwin to an existing time zone datasbase when the tzcode/data package is installed. Should we do some extra stuff to maintain backward compatib

Re: [PATCH]: Add flock syscall emulation

2003-11-30 Thread Nicholas Wourms
Corinna wrote: On Thu, Nov 27, 2003 at 02:51:10PM -0500, Nicholas Wourms wrote: Hi All, Here is a patch to add the flock() syscall to Cygwin. I've noticed that some Applied with changes. I've run indent on flock.c since its formatting was non-GNU. I can understand why you did

Re: [PATCH]: Add flock syscall emulation

2003-11-30 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: On Sun, Nov 30, 2003 at 12:01:04AM +0100, Corinna Vinschen wrote: Is there any reason this can't be a .cc rather than a .c ? I was just following what was done with other pure C source files, such as fnmatch.c. However, I'll make a note to use .cc in the future. Chee

Re: [PATCH]: Add flock syscall emulation

2003-11-28 Thread Nicholas Wourms
cgf wrote: On Thu, Nov 27, 2003 at 02:51:10PM -0500, Nicholas Wourms wrote: And, the employee was...? Your reasoning may be correct but it isn't possible to know for sure without details. Chris, Ooops, sorry about that! I meant to fill it in after I finished and had a chance to look u

[PATCH]: Add flock syscall emulation

2003-11-27 Thread Nicholas Wourms
and use in future contributions. Cheers, Nicholas2003-11-27 Nicholas Wourms <[EMAIL PROTECTED]> * Makefile.in: (DLL_OFILES): Add flock.o. * cygwin.din: Export flock & _flock. * flock.c: New file. * include/sys/file.h: Include sys/cdefs.h. Add funct

Re: Add PAGE_SIZE, PAGE_SHIFT, PAGE_MASK to sys/param.h

2003-10-30 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: On Wed, Oct 29, 2003 at 07:02:28PM -0500, Nicholas Wourms wrote: Still, perhaps Brian's suggestion has some merit? Yes. The Solaris-like definition has its point. Using sysconf or getpagesize in the macro is fine. OK I'll work something up then. Which

Re: Add PAGE_SIZE, PAGE_SHIFT, PAGE_MASK to sys/param.h

2003-10-29 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: [SNIP] I was mulling over this definitions again and somehow I'm inclined to refuse these definitons entirely. I see, well I suppose that's ok. First of all, you shouldn't use them in applications. Applications should call getpagesize() or sysconf(_SC_PAGESIZE) to get t

Re: Add PAGE_SIZE, PAGE_SHIFT, PAGE_MASK to sys/param.h

2003-10-29 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: [SNIP] 2003-10-28 Nicholas Wourms <[EMAIL PROTECTED]> * include/sys/param.h: Define some page counting macros. (PAGE_SHIFT): Define. (PAGE_SIZE): Define. (PAGE_MASK): Define. Tidy tab/whitespace formatting from last patch. Sorry, but I have s

Add PAGE_SIZE, PAGE_SHIFT, PAGE_MASK to sys/param.h

2003-10-28 Thread Nicholas Wourms
my MUA, I've gzipped the patch to preserve formatting. Cheers, Nicholas * This is the same value used by Linux/ia32, *BSD/ia32, Wine, and the Windows DDK in the cvs repo. 2003-10-28 Nicholas Wourms <[EMAIL PROTECTED]> * include/sys/param.h: Define some page counting macros.

Re: Signal handling tune up.

2003-08-31 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: On Fri, Aug 29, 2003 at 11:54:25AM -0400, Christopher Faylor wrote: In any event, I have just found an interesting paper by Ulrich Drepper http://people.redhat.com/drepper/posix-signal-model.xml To supplement this, I'd also suggest having a look at the detailed comment

Re: Questions and a RFC [was Re: Assignment from Nicholas Wourmsarrived]

2003-08-14 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: On Tue, Aug 12, 2003 at 06:55:11PM -0400, Nicholas Wourms wrote: 1)Did my MUA strip the tabs from the patch? The only reason I ask is Yes. The patch already contained spaces. I see you're using Mozilla/NS7 so I'm wondering how this happened. AFAIK, Mozil

[PATCH]: Add some interoperability macros to sys/param.h

2003-08-14 Thread Nicholas Wourms
t pending, but I was hoping this change would be small enough to go in before then. Cheers, Nicholas 2003-08-07 Nicholas Wourms <[EMAIL PROTECTED]> * include/sys/param.h (setbit): Add new bitmap related macro. (clrbit): Likewise. (isset): Likewise. (isclr): Likewise. (

Re: Questions and a RFC [was Re: Assignment from Nicholas Wourmsarrived]

2003-08-14 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: Nicholas Wourms wrote: Planning ahead for future possibilities is always a good thing, so in that respect this seems like a sound idea. Since we are already dealing with ABI breakage, I thought I'd float this now to see what people think. Would a change like th

Questions and a RFC [was Re: Assignment from Nicholas Wourms arrived]

2003-08-14 Thread Nicholas Wourms
[EMAIL PROTECTED] wrote: FYI, your copyright assignment form has been received by Red Hat. Patch away! Any outstanding issues besides argz/envz? Not yet, I've got a few things I'd like to contribute to newlib first. However, I do have a few questions... 1)Did my MUA strip the tabs from the pa

[PATCH]: Export argz/envz functions

2003-07-27 Thread Nicholas Wourms
hind that. Can this be considered for last-minute submission to 1.5.1? Thanks! Cheers, Nicholas BTW- I have ported some more widechar (wcsxfrm) and common functions (i.e. basename & dirname) to newlib, and will submit these patches once my copyright assignment is processed. 2003-

Re: select on serial fix

2002-11-15 Thread Nicholas Wourms
Charles Wilson wrote: Nicholas Wourms wrote: > If you're feeling motivated, mkfifo() still needs implimenting ;-). IIRC, fifo operation needs the cygwin daemon. No sense in implementing mkfifo() if the fifo itself doesn't work. Whatever happened to the daemon work? conra

Re: select on serial fix

2002-11-15 Thread Nicholas Wourms
Sergey Okhapkin wrote: The patch fixes a problem with a characters loss on select on a serial port. I wonder what PurgeComm() calls in the original code supposed to do... If you're feeling motivated, mkfifo() still needs implimenting ;-). Cheers, Nicholas

Re: export fseeko() and ftello() patch

2002-10-29 Thread Nicholas Wourms
Jason Tishler wrote: The attached patch exports newlib's fseeko() and ftello(). Besides being generally useful, this patch also solves the first build issue in the following: http://archives.postgresql.org/pgsql-cygwin/2002-10/msg00039.php Note that I would like to include a hunk for winsup

Re: w32api autoconfiscation changes

2002-10-15 Thread Nicholas Wourms
Earnie Boyd wrote: > I've just implemented this. > > Earnie Boyd wrote: > >> This is a warning of changes about to occur. I've tested these chages >> with both native mingw32 and native cygwin. I've not tested these >> changes with a cross build system. The purpose of the change is to >> a

Re: A minor patch to Makefile.in

2002-06-27 Thread Nicholas Wourms
Christopher Faylor wrote: >You're right. You'll need a copyright assignment. > Ok, well I'll work on getting that situated. >Nope. As someone who really detests automake, you can probably guess >why that would be so. > >And, since every directory underneath winsup has different configuration >

Re: A minor patch to Makefile.in

2002-06-27 Thread Nicholas Wourms
Christopher Faylor wrote: >On Thu, Jun 27, 2002 at 12:04:19PM -0400, Nicholas Wourms wrote: > >>A better solution is to include "naked-intl" in the list of cvs modules >>for the "winsup" ampersand module, then when utils/Makefile.in evaluates >&

Re: A minor patch to Makefile.in

2002-06-27 Thread Nicholas Wourms
Christopher Faylor wrote: >On Wed, Jun 26, 2002 at 01:21:22PM -0400, Nicholas Wourms wrote: > >>Ok, >> >>A correction: >>"Due to the dependancy of gettext(libintl) and gettext, this pach..." >> >>This should read: >>"Due to the depen

Re: A minor patch to Makefile.in

2002-06-26 Thread Nicholas Wourms
Ok, A correction: "Due to the dependancy of gettext(libintl) and gettext, this pach..." This should read: "Due to the dependancy of gettext(libintl) on libiconv, this patch..." Also, Netscape is stripping tabs, so I have attached the Changelog this time with the hope it won't be stripped. Che

A minor patch to Makefile.in

2002-06-26 Thread Nicholas Wourms
Hi all, Due to the dependancy of gettext(libintl) and gettext, this pach is required to get a clean build with the new gettext/libiconv. Otherwise, it will fail when trying to build dumper.exe because make doesn't link against libiconv. Cheers, Nicholas ChangeLog: 2002-06-26 Nicholas S. W

More doco updates

2002-06-13 Thread Nicholas Wourms
Hi, This is an update to cvs.html, which shows the examples with the new prompt style. It also provides clarification on the cvs update procedure, since "cvs update" alone will cause the entire src tree to be pulled if you have "update -dP" in your ".cvsrc" file. I've seen more then a few r

Patch to calls.texinfo

2002-06-13 Thread Nicholas Wourms
Chris, I updated calls.texinfo to reflect the implimentation of pthreads functions that have been implemented. You said no changelog entry was necessary for "Documentation", as such I have not included one. Cheers, Nicholas Index: calls.texinfo ==

Re: Small Patch

2002-06-13 Thread Nicholas Wourms
Christopher Faylor wrote: >On Thu, Jun 13, 2002 at 01:05:42PM -0400, Nicholas Wourms wrote: > >>This is a patch to a few files to update the copyright year and fix a >>minor spelling error. >> > >Thanks for the heads up. IMO, comment changes fall into the "do

Re: Small Patch

2002-06-13 Thread Nicholas Wourms
Sorry, That entry should read: ChangeLog: 2002-06-13 Nicholas S. Wourms <[EMAIL PROTECTED]> * shared_info.h: Change copyright to include 2002. * shortcut.c: Change copyright to include 2002. * shortcut.h: Correct spelling error and changed copyright to include

Small Patch

2002-06-13 Thread Nicholas Wourms
Hi all, This is a patch to a few files to update the copyright year and fix a minor spelling error. In winver.rc, I also formatted the DBA name in the same format as it appears throughout the rest of the source code. I assume this will not require a copyright assignment, since it is only 13