Re: Malloc failing too soon under XP/2000

2003-02-12 Thread Kris Warkentin
, I can't run a bash shell anymore. Any more ideas? cheers, Kris - Original Message - From: "Ronald Landheer-Cieslak" <[EMAIL PROTECTED]> To: "Kris Warkentin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesda

Malloc failing too soon under XP/2000

2003-02-12 Thread Kris Warkentin
I'm running Windows XP with 1/2GB RAM and 2GB swap. Running Cygwin 1.3.18. Consider the following program to use as much memory as possible: #include #include int main() { void *x; unsigned long long mem=0; while((x=malloc(50)) != NULL){ mem += 5000

Re: unintended logout with bash shell

2002-10-03 Thread Kris Warkentin
Well, the earlier suggestion of putting parentheses around the command did the trick for me. Hasn't happened to me since. It's a strange one even still. I could see if it happened every time but it really comes and goes. cheers, Kris - Original Message - From: "mx" <[EMAIL PROTECTED]

Re: unintended logout with bash shell

2002-10-03 Thread Kris Warkentin
> Kris, > I don't see this behavior on Win2k SP2, bash 2.05b-5... Try putting the > whole gvim invocation line (including the '&') in parentheses (it'll > force the invocation into a subshell), and see if this helps... > > Otherwise, please post the version of Cygwin and bash you have, and which

unintended logout with bash shell

2002-10-03 Thread Kris Warkentin
This has been bugging me for a while and I think I've finally got it to a repeatable case. Suppose I have a function in my .profile like so: vi(){ /cygdrive/d/vim/vim60/gvim.exe `for file in $* ; do cygpath -w $file ; done` & } If I do something like 'vi /usr/include/std' ( for command comp

Re: textmode.o, automode.o, etc.

2002-10-03 Thread Kris Warkentin
Well happy day! I just linked GNU cpp with textmode.o and it works fine. I think that I'm going to take the easy way out and just do that. Now if I can only figure out how to get the configure script to do that for me rather than doing it manually. ;-) Thank you very much. Kris - Origina

textmode.o, automode.o, etc.

2002-10-02 Thread Kris Warkentin
Can anyone point me to some documentation as to what these are and how they're supposed to be used? I see that binmode.o and textmode.o have a __fmode defined. Does it change the default file opening behaviour? cheers, Kris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple B

Re: CR/NL problem with cpp.exe

2002-10-02 Thread Kris Warkentin
- Original Message - From: "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]> To: "Kris Warkentin" <[EMAIL PROTECTED]>; "Dan Vasaru" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 10:21 PM Subject: Re: CR/

Re: CR/NL problem with cpp.exe

2002-10-02 Thread Kris Warkentin
ublic branch which is the puzzle. I'm wondering if there is some reason why but I'm agreeing with you and I think I might just hack the preprocessor to properly deal with the '\r'. Probably the most portable way. cheers, Kris - Original Message - From: "Dan Vasaru

Re: CR/NL problem with cpp.exe

2002-10-01 Thread Kris Warkentin
in version of cpp.exe. I noticed that the version of gcc shipped with cygwin is 2.95.3-5. Is the '-5' some form of Cygwin specific patch with some assorted magic in it? Perhaps someone on this list would know. cheers, Kris - Original Message - From: "Dan Vasaru" <

Re: CR/NL problem with cpp.exe

2002-10-01 Thread Kris Warkentin
> printf("This is a long string across\ > multiple lines"); > > or a backslashified #define is being concatenated. Now, if I use the Cygwin > cpp.exe, I get the following (expected) behaviour: Correction: I meant NOT being concatenated. -- Unsubscribe info: http://cygwin.com/ml/#unsubs

CR/NL problem with cpp.exe

2002-10-01 Thread Kris Warkentin
Hello, Our Windows hosted development tools are compiled under Cygwin and I'm observing a strange problem with Dos style text files not being pre-processed correctly. Specifically, something like this: printf("This is a long string across\ multiple lines"); or a backslashified #define is be