Re: running gdb and attaching back: why doesn't this work?

2005-11-07 Thread Samuel Thibault
mario rossi, le Mon 07 Nov 2005 23:13:17 -0800, a écrit : > * 4 thread 3420.0xfc0 0x77f75a59 in > ntdll!DbgUiConnectToDbg () from > /c/WINDOWS/System32/ntdll.dll > 3 thread 3420.0xe24 0x7ffe0304 in ?? () > 2 thread 3420.0xfa4 0x7ffe0304 in ?? () > 1 thread 3420.0xffc f () at test.c:31 >

running gdb and attaching back: why doesn't this work?

2005-11-07 Thread mario rossi
Hi, I've been trying to run gdb from a thread to get a stack trace of such thread...but it doesn't seem to work as expected under cygwin. The code I tried is attached below. The output I get from the code is: [Switching to thread 3420.0xab0] * 4 thread 3420.0xab0 0x77f75a59 in ntdll!DbgUiConnec

Re: BUG: alternatives

2005-11-07 Thread Charles Wilson
Christopher Faylor wrote: I have mixed feelings about alloca, personally. I use it all of the time but it is always with some trepidation because, AFAIK, the failure condition for alloca is a SEGV. OTOH, it is very convenient. In this case, however, I think you really want to use realloc. Yo

Re: latest snapshots vs. Win98

2005-11-07 Thread Eric Blake
Eric Blake comcast.net> writes: > > With the latest round of snapshots (I just got around to trying 20051023 > through 20051104), every cygwin process is hanging at startup on Win98. Thanks for the quick fix :) 20051106 appears to work just fine on Win98. -- Eric Blake -- Unsubscribe info:

Re: How to run cygwin sshd as a domain user?

2005-11-07 Thread Larry Hall (Cygwin)
Xing Qiu wrote: Hi, I have successfully installed cygwin and its openssh package. I followed the instruction about setting up sshd and it works as expected. However this sshd service turns out to be a local service, which means I can't get access to the net printers and the net file folders

Re: Installer bug with symlinks

2005-11-07 Thread Larry Hall (Cygwin)
Joe Krahn wrote: The installer can make a directory for new files even if there is already an existing directory symlink of the same name. I discovered the problem when upgrading where I had a custom X11 build. I moved /usr/X11R6 to /usr/X11R6.dist, and made the symlink /usr/X11R6 -> /usr/X11

[ANNOUNCEMENT] Security update: clamav-0.87.1-1

2005-11-07 Thread Reini Urban
Clam AntiVirus is subject to vulnerabilities ranging from Denial of Service to execution of arbitrary code when handling compressed executables. (CAN-2005-2919, CAN-2005-2920) Clam AntiVirus is also vulnerable to integer overflows when handling several file formats, potentially resulting in the

Re: chmod: Permission denied

2005-11-07 Thread Igor Pechtchanski
On Mon, 7 Nov 2005, Sam Steingold wrote: > > * Igor Pechtchanski <[EMAIL PROTECTED]> [2005-11-07 13:58:16 -0500]: > > > > On Mon, 7 Nov 2005, Sam Steingold wrote: > > > >> my windows login domain has changed and now I cannot chmod the files > >> that I created when I was logged in using my previou

Re: chmod: Permission denied

2005-11-07 Thread Sam Steingold
> * Igor Pechtchanski <[EMAIL PROTECTED]> [2005-11-07 13:58:16 -0500]: > > On Mon, 7 Nov 2005, Sam Steingold wrote: > >> my windows login domain has changed and now I cannot chmod the files >> that I created when I was logged in using my previous login domain. >> how can I fix this? >> do I need to

Re: chmod: Permission denied

2005-11-07 Thread Igor Pechtchanski
On Mon, 7 Nov 2005, Sam Steingold wrote: > my windows login domain has changed and now I cannot chmod the files > that I created when I was logged in using my previous login domain. > how can I fix this? > do I need to do > find . -exec 'cp -p {} {}.new; mv {}.new {}' \; > (or something)? After y

RE: To continue file name

2005-11-07 Thread Dave Korn
Alex Vinokur wrote: > "Dave Korn" wrote in message > news:[EMAIL PROTECTED] >> Alex Vinokur wrote: >>> Hi, >>> >>> For instance, directory contains files abcd, xyz, f123. >>> For instance, I print 'a' and don't want to print 'bcd'. >>> How can Cygwin continue file name automatically. >> >> In

Re: To continue file name

2005-11-07 Thread Alex Vinokur
"Dave Korn" wrote in message news:[EMAIL PROTECTED] > Alex Vinokur wrote: > > Hi, > > > > For instance, directory contains files abcd, xyz, f123. > > For instance, I print 'a' and don't want to print 'bcd'. > > How can Cygwin continue file name automatically. > > In bash shell, you just press TA

Re: ieeefp.h: C++ guards

2005-11-07 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Corinna Vinschen wrote: > On Nov 7 11:45, Jeff Johnston wrote: >>Seems very sensible considering that a number of the identifiers are >>also declared in math.h and protected there (e.g. isnan). Which was the kind of error I was getting. > Thanks, a

chmod: Permission denied

2005-11-07 Thread Sam Steingold
my windows login domain has changed and now I cannot chmod the files that I created when I was logged in using my previous login domain. how can I fix this? do I need to do find . -exec 'cp -p {} {}.new; mv {}.new {}' \; (or something)? thanks. -- Sam Steingold (http://www.podval.org/~sds) runni

Re: Linker Error: cannot find -lGL [in Cygwin]

2005-11-07 Thread André Bleau
Olumide wrote: --- Hi - I'm sure theres' a straightforward answer to this question. I'm trying to link an object file (main.o) with the OpenGL libraries but I'm getting the following error: $ g++ main.

RE: To continue file name

2005-11-07 Thread Dave Korn
Alex Vinokur wrote: > Hi, > > For instance, directory contains files abcd, xyz, f123. > For instance, I print 'a' and don't want to print 'bcd'. > How can Cygwin continue file name automatically. In bash shell, you just press TAB to complete the filename. cheers, DaveK -- Can't thin

To continue file name

2005-11-07 Thread Alex Vinokur
Hi, For instance, directory contains files abcd, xyz, f123. For instance, I print 'a' and don't want to print 'bcd'. How can Cygwin continue file name automatically. Thanks, Alex Vinokur -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

Re: Wikipedia info about cygwin

2005-11-07 Thread Chan Kar Heng
This page should have all the authorative information that should be in that wiki page: http://cygwin.com/faq/faq.html#faq.about .. and especially this: http://cygwin.com/history.html Both the above word things in much better way & in more proper perspectives, as well as giving proper credit

Re: futimes fails on file open for read

2005-11-07 Thread Corinna Vinschen
On Nov 6 23:34, Yitzchak Scott-Thoennes wrote: > The following gives: > > futimes returned: -1 (Permission denied) > > I'm told it succeeds on linux; is it even possible for it to work on > cygwin or am I SOL? I've created a patch for this. It will show up in the next snapshot. Thanks for th

Re: ieeefp.h: C++ guards

2005-11-07 Thread Corinna Vinschen
On Nov 7 11:45, Jeff Johnston wrote: > Corinna Vinschen wrote: > >On Nov 6 16:41, Yaakov S (Cygwin Ports) wrote: > > > >>The ieeefp.h header does not contain C++ guards. Is there a reason for > >>this? > >> > >>This particularly affects C++ perl extensions, as perl.h includes > >>ieeefp.h, altho

Re: ieeefp.h: C++ guards

2005-11-07 Thread Jeff Johnston
Corinna Vinschen wrote: On Nov 6 16:41, Yaakov S (Cygwin Ports) wrote: The ieeefp.h header does not contain C++ guards. Is there a reason for this? This particularly affects C++ perl extensions, as perl.h includes ieeefp.h, although I just ran across another, non-perl case where it caused a

Re: ieeefp.h: C++ guards

2005-11-07 Thread Corinna Vinschen
On Nov 6 16:41, Yaakov S (Cygwin Ports) wrote: > The ieeefp.h header does not contain C++ guards. Is there a reason for > this? > > This particularly affects C++ perl extensions, as perl.h includes > ieeefp.h, although I just ran across another, non-perl case where it > caused a compilation erro

Re: Hang with 20051018 (3rd version) snapshot while building OOo

2005-11-07 Thread Volker Quetschke
(snip) >>>There's a new snapshot with even more debugging available now. >> >>Here is the new strace: > > That one showed that cygwin was hanging in a windows function that > shouldn't really hang. I can't explain why but the new snapshot avoids > calli

Re: __assert linker error

2005-11-07 Thread Brian Dessent
Thomas Porschberg wrote: > Is this roadmap ok ? I have no idea, I don't know anything about QT under windows and whether it will compile as a mingw app. Regardless, you must either compile every object with -mno-cygwin or none of them with it. Brian -- Unsubscribe info: http://cygwin.com/

Re: __assert linker error

2005-11-07 Thread Thomas Porschberg
Thanks for this explanation. The way to get a self-contained non-cygwin but windows CPPUNIT application based on QT is therefore 1) download the qt-library as sources 2) compile it with -mno-cygwin -mwindows compiler flags 3) build libqttestrunner with this new qt-library and -mno-cygwin -mwi

Re: __assert linker error

2005-11-07 Thread Brian Dessent
Thomas Porschberg wrote: > I compiled cppunit-library as a mingw32 (using -mno-cygwin) application > and libqttestrunner as an cygwin library. That is why it isn't working. You can't mix Cygwin and non-cygwin objects in the same executable. Cygwin and mingw use completely different C runtimes a

Re: Error compiling mod_perl with apache-1.3.33-2 and perl-5.8.7-4 (was: Apache with mod_perl up and running)

2005-11-07 Thread Eric Blake
> > BTW i think there is a bug in the snapshot in file > /usr/include/sys/stdio.h, line 338. Had to change: > > -ssize_t _EXFUN(__getline, (char **, size_t *, FILE *)); > +ssize_t _EXFUN(__getline, (char **, size_t *, int, FILE *)); No, this is wrong. getline really is (char**, size_t*, FILE*)

Re: Error compiling mod_perl with apache-1.3.33-2 and perl-5.8.7-4 (was: Apache with mod_perl up and running)

2005-11-07 Thread Nenad Antic
Gerrit P. Haase wrote, on 11/4/2005 8:37 PM: Nenad Antic wrote: Sorry for starting a new thread, but I think I made a mistake. My original post disappeared, or rather never appeared among new threaded messages, since I continued on an existing old thread. Just hoping to get some help... Co

Re: Some new data regarding "fork: resource temporarily unavailable"

2005-11-07 Thread hermitte
Eric Blake <[EMAIL PROTECTED]> wrote: > According to David Arnstein on 11/6/2005 11:34 AM: > > I left my machine running all night. The count of handles for "System" > > rose to 200,000+, so perhaps this statistic is not relevant. I'll keep > > looking. > > Do you have some other program installed

Re: Some new data regarding "fork: resource temporarily unavailable"

2005-11-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to David Arnstein on 11/6/2005 11:34 AM: > I left my machine running all night. The count of handles for "System" > rose to 200,000+, so perhaps this statistic is not relevant. I'll keep > looking. Do you have some other program installed th

Re: where is setup.exe source?

2005-11-07 Thread Rajesh Balakrishnan
Igor Pechtchanski wrote: > I don't recall if the > mirror list is sortable, actually -- if it isn't, it ought to be. BTW, > now that setup is resizable, it would make sense to at least add the > location information from mirrors.lst to the mirror list dialog. I had submitted the patches a while

__assert linker error

2005-11-07 Thread Thomas Porschberg
Hi, I try to compile a small C++ QT program from the CPPUNIT distribution under cygwin and encounter a linker error. $ make g++ -Wl,--enable-runtime-pseudo-reloc -o example ExampleTestCase.o Main.o-L/ usr/lib/qt3/lib -L/usr/local/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lpthread -lcppunit -

Winzip & Zip

2005-11-07 Thread zzapper
Hi, Everyone knows the very useful Winzip, however some pretty clever "automatic" stuff can be done using CygWins zip # zip a webroot but only html or php files zip.exe -r web.zip c:/intranet/web/ -i *.php *.htm* # zip a list of files where list.txt contains one file name per line zip all.zip

Re: Missing directories in INC with perl 5.8.7 and cygwin 1.5.18-1

2005-11-07 Thread Frank Ehlert
Hi Chan, //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.7 does not exist! But instead of this //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8 exists. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentatio

Wikipedia info about cygwin

2005-11-07 Thread Lapo Luchini
http://en.wikipedia.org/wiki/Cygwin This page seems to contain some inaccuracies, but I don't know enough to correct them properly... ...but I think the worse is this wikibook entry, to me it seems to suggests some very "strange" options and lacks the proper context to say that they are very pecul