Re: Slowdown after update on Win32 (XP Home)

2010-12-12 Thread Michael Ludwig
Michael Ludwig schrieb am 30.10.2010 um 15:55 (+0200): > Michael Ludwig schrieb am 07.10.2010 um 00:27 (+0200): > > SZABÓ Gergely schrieb am 06.10.2010 um 23:30 (+0200): > > > > > > please see this thread (test scripts included): > > > http://cygwin.com/ml/cygwin/2010-09/msg00871.html > > > > Tha

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread John Hein
Matthias Andree wrote at 15:16 +0100 on Dec 12, 2010: > This seems to be racey, the program below does not trigger the problem, so > there > must be something else that prevents unlink() from working properly, perhaps > mandatory locks (possibly on the Windows side), or with (deeply) nested >

Re: Glut Problem

2010-12-12 Thread Reini Urban
2010/12/9 Klaus Ramstöck: > Am 08.12.2010 18:33, schrieb André Bleau: >>> int button, state; >>>  ((GLUTbuttonBoxFCBUSR)__glutGetFCB(GLUT_FCB_BUTTON_BOX))(&button, &state); Can you try it with long for button and state? Fortran calling conventions are weird, und usually require argument padding.

Re: Fwd: Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Christopher Faylor
On Sun, Dec 12, 2010 at 12:26:54PM -0500, Jeffrey Walton wrote: >On Sun, Dec 12, 2010 at 12:15 PM, Christopher Faylor wrote: >> On Sun, Dec 12, 2010 at 11:53:28AM -0500, Jeffrey Walton wrote: >>>2nd try. >> >> The input is sanitized. >Hmm > >> It is not a database and it is not PHP. >My bad CGI

Re: Executable named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Christopher Faylor
On Sun, Dec 12, 2010 at 02:42:08PM +0100, Matthias Andree wrote: >Am 12.12.2010 13:38, schrieb Daniel Colascione: >> On 12/12/10 4:34 AM, Matthias Andree wrote: [ -f file ] && echo is >>> you cannot run scripts containing this >>> under a "set -e" regime. >> >> Yes you can. >> >> `-e' >>

Re: Executable named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Christopher Faylor
On Sun, Dec 12, 2010 at 01:34:22PM +0100, Matthias Andree wrote: >Am 12.12.2010 13:31, schrieb Csaba Raduly: > >> I guess something like this: >> >> [ -f file ] && echo is > >True, but this is bad style. Reason is you cannot run scripts containing this >under a "set -e" regime. However, most scr

Re: 'cygcheck -p' timeout on WinXP (Winsock error 12002)

2010-12-12 Thread Christopher Faylor
On Sat, Dec 11, 2010 at 09:37:07PM -0800, Kenneth Wolcott wrote: >Hi; > >On Sat, Dec 11, 2010 at 17:43, Jeffrey Walton wrote: >> Hi All, >> >> Windows XP, fully patched. Cygwin, latest download from website >> (installed today). >> >> It appears cygcheck times out on Windows XP. The timeout occurs

Re: Problem with fork() in latest snapshot

2010-12-12 Thread Christopher Faylor
;s odd, the test case was failing for me on Win7 x64, x32, and x32 >under virtualization. > >FWIW, the test case is apparently working now on the latest snapshot >(tried 20101212). But if I run it in strace, there's still an >exception message hidden in the output: I did manage to

Re: Problem with fork() in latest snapshot

2010-12-12 Thread Heath Kehoe
der virtualization. FWIW, the test case is apparently working now on the latest snapshot (tried 20101212). But if I run it in strace, there's still an exception message hidden in the output: --- Process 3916, exception C005 at 610E124A As mentioned in another message, I was seeing th

Re: 1.7.7: upper limit to df reported available size?

2010-12-12 Thread Christopher Faylor
On Sun, Dec 12, 2010 at 01:12:08PM +0100, Corinna Vinschen wrote: >On Dec 10 10:38, Eric Blake wrote: >> On 12/10/2010 10:21 AM, Corinna Vinschen wrote: >> > On Dec 10 17:59, Corinna Vinschen wrote: >> >> On Dec 10 11:20, Elford,Andrew [Ontario] wrote: >> >>> $ df -T /cygdrive/f/file >> >>> Filesys

Re: Fwd: Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Jeffrey Walton
On Sun, Dec 12, 2010 at 12:15 PM, Christopher Faylor wrote: > On Sun, Dec 12, 2010 at 11:53:28AM -0500, Jeffrey Walton wrote: >>2nd try. > > The input is sanitized. Hmm > It is not a database and it is not PHP. My bad CGI then... > > The "Internal Server Error" just means that the search too

Re: strange crashes on invocation

2010-12-12 Thread Heath Kehoe
On Dec 10, 2010, at 3:36 AM, Corinna Vinschen wrote: > Hi Heath, > [snip] > The latest snapshot from http://cygwin.com/snapshots.html contains > another patch which should avoid this problem. Can you please test? > Unfortunately, I'm not in a position to be able to repro the problem. Sorry..

Re: regular tcsh crashes

2010-12-12 Thread Lester Ingber
On Sun, Dec 12, 2010 at 9:01 AM, Lester Ingber wrote: >> On 12/10/2010 8:22 PM, Lester Ingber wrote: >>> I have been having tcsh crashes for some time.  I have tried the >>> latest snapshot of cygwin1.dll but that does not help.  I attach the >>> output of my cygcheck-svr.txt. >>> >>> The crashes

Re: regular tcsh crashes

2010-12-12 Thread Lester Ingber
> On 12/10/2010 8:22 PM, Lester Ingber wrote: >> I have been having tcsh crashes for some time.  I have tried the >> latest snapshot of cygwin1.dll but that does not help.  I attach the >> output of my cygcheck-svr.txt. >> >> The crashes typically output, in crash_output.txt. >> >> A file tcsh.exe.

Re: Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Jeffrey Walton
An email to sourcemas...@sourceware.org bounced. Can anyone bring this to the attention of the webmaster? == Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administr

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 16:46, schrieb Corinna Vinschen: > On Dec 12 16:19, Corinna Vinschen wrote: >> On Dec 12 16:14, Matthias Andree wrote: >> > Am 12.12.2010 16:12, schrieb Corinna Vinschen: >> > > On Dec 12 15:16, Matthias Andree wrote: >> > >> Am 12.12.2010 13:42, schrieb Corinna Vinschen: >> > >> >>

Re: Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Jeffrey Walton
"[1 = 1]" gets an Internal Server error. The PHP is probably trying to cough up everything On Sun, Dec 12, 2010 at 11:44 AM, Jeffrey Walton wrote: > BTW, Since the web interface tried to interpret my input ("Invalid > regular expression search string"), this database is probably > vulnerable

Re: Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Jeffrey Walton
BTW, Since the web interface tried to interpret my input ("Invalid regular expression search string"), this database is probably vulnerable to a SQL injection. GNU just got pwn'd Has anyone tried thew 1 =1 trick lately? Are passwords residing in another table? Jeff Am 12.12.2010 12:29, schrieb

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Corinna Vinschen
On Dec 12 16:19, Corinna Vinschen wrote: > On Dec 12 16:14, Matthias Andree wrote: > > Am 12.12.2010 16:12, schrieb Corinna Vinschen: > > > On Dec 12 15:16, Matthias Andree wrote: > > >> Am 12.12.2010 13:42, schrieb Corinna Vinschen: > > >> > > >> > So, what cygwin tries to do in the first place i

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 16:19, schrieb Corinna Vinschen: >> Then I wonder what makes my cygport (or the rm command it uses) fail as it >> removes the workdir... > > I guess debugging would sched a light... I'll be enjoying your instructions. -- Matthias Andree -- Problem reports: http://cygwin.co

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Corinna Vinschen
On Dec 12 16:14, Matthias Andree wrote: > Am 12.12.2010 16:12, schrieb Corinna Vinschen: > > On Dec 12 15:16, Matthias Andree wrote: > >> Am 12.12.2010 13:42, schrieb Corinna Vinschen: > >> > >> > So, what cygwin tries to do in the first place is to move files in use > >> > into the recycle bin.

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Corinna Vinschen
On Dec 12 15:21, Matthias Andree wrote: > BTW, haven't read through all of > > > for lack of time, but check_dir_not_empty wastes CPU time on full directories > - > you don't need to count to 1000 -- s

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 16:12, schrieb Corinna Vinschen: > On Dec 12 15:16, Matthias Andree wrote: >> Am 12.12.2010 13:42, schrieb Corinna Vinschen: >> >> > So, what cygwin tries to do in the first place is to move files in use >> > into the recycle bin. However, on Windows you need DELETE access rights >>

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Corinna Vinschen
On Dec 12 15:16, Matthias Andree wrote: > Am 12.12.2010 13:42, schrieb Corinna Vinschen: > > > So, what cygwin tries to do in the first place is to move files in use > > into the recycle bin. However, on Windows you need DELETE access rights > > to be able to do so. And, this doesn't work for re

rsyncable gzip

2010-12-12 Thread Felipe Alvarez
I tried to patch gzip-1.2.4 from gnu mirrors, using patch from http://ozlabs.org/~rusty/gzip.rsync.patch. Patching OK. I run GZIP='--rsyncable --fast' tar -xzf file.tar.gz /directory/ It complains that it cannot find the files named `--fast` and `--rsyncable`. I tried GZIP='--rsyncable --fast';

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Matthias Andree
BTW, haven't read through all of for lack of time, but check_dir_not_empty wastes CPU time on full directories - you don't need to count to 1000 -- see the while loop ll. 515 - 520, the if() {} block on

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 13:42, schrieb Corinna Vinschen: > So, what cygwin tries to do in the first place is to move files in use > into the recycle bin. However, on Windows you need DELETE access rights > to be able to do so. And, this doesn't work for remote drives. On > remote drives we can only try t

Re: Executable named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 13:38, schrieb Daniel Colascione: > On 12/12/10 4:34 AM, Matthias Andree wrote: >>> [ -f file ] && echo is >> you cannot run scripts containing this >> under a "set -e" regime. > > Yes you can. > > `-e' > Exit immediately if a simple command (*note Simple > C

Re: Bug? UDP packet transmitted via sendto() intermitently not being transmitted to network

2010-12-12 Thread Corinna Vinschen
On Dec 10 14:37, Estabrook, Edward wrote: > Generally I am seeking information regarding: > 1) Where can I download and install an older version of Cygwin (say > 1.5 era) to test if the problem is newly introduced? What for? If it doesn't work on 1.5 you're exactly at the same spot as now. If it

Re: 1.7.7: rm -rf sometimes fails - race condition?

2010-12-12 Thread Corinna Vinschen
On Dec 10 22:30, Steven Hartland wrote: > > - Original Message - From: "Christopher Faylor" > > >>This looks like either a premature return from a syscall or libcall, or > >>like a > >>genuine race in the system. > >> > >>Has anyone seen similar things? > > > >Yes and you seem to have na

Re: Problem installing packages

2010-12-12 Thread Csaba Raduly
On Sun, Dec 12, 2010 at 5:26 AM, Jeffrey Walton wrote: > Hi All, > > According to http://www.cygwin.com/, "Run setup.exe any time you want > to update or install a Cygwin package. ": > > jeff...@descartes ~ > $ setup.exe > > Result is a message box that states "Please go to the Control Panel to >

Re: Executable named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Daniel Colascione
On 12/12/10 4:34 AM, Matthias Andree wrote: >> [ -f file ] && echo is > you cannot run scripts containing this > under a "set -e" regime. Yes you can. `-e' Exit immediately if a simple command (*note Simple Commands::) exits with a non-zero status, unless the command

Re: Executable named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 13:31, schrieb Csaba Raduly: > I guess something like this: > > [ -f file ] && echo is True, but this is bad style. Reason is you cannot run scripts containing this under a "set -e" regime. However, most scripts should be doing that (and set -u is also often advised), so that err

Re: Executable named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Csaba Raduly
On Sun, Dec 12, 2010 at 5:49 AM, Jeffrey Walton wrote: > Hi Guys, > > The executable name is suspicious at best. Attempting to search > http://cygwin.com/packages/ results in an error "Invalid regular > expression search string: `[.exe`". Qoutes, double quotes, and back > ticks do not help during t

Re: 1.7.7: upper limit to df reported available size?

2010-12-12 Thread Corinna Vinschen
On Dec 10 10:38, Eric Blake wrote: > On 12/10/2010 10:21 AM, Corinna Vinschen wrote: > > On Dec 10 17:59, Corinna Vinschen wrote: > >> On Dec 10 11:20, Elford,Andrew [Ontario] wrote: > >>> $ df -T /cygdrive/f/file > >>> FilesystemType 1K-blocks Used Available Use% Mounted on > >>> C:

coreutils 8.5-2: lacks /usr/share/man/man1/[.1.gz

2010-12-12 Thread Matthias Andree
coreutils 8.5-2 does not install a man page for the "[" command in section 1. This could/should be a symlink to test (test.1 contains the necessary documentation), or a trivial roff file containing .so man1/test.1 (untested). -- Matthias Andree -- Problem reports: http://cygwin.com/problem

Re: Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Matthias Andree
Am 12.12.2010 12:29, schrieb Jeffrey Walton: > Hi Guys, > > The executable name is suspicious at best. Attempting to search On the contrary, it's a standard utility mentioned in IEEE Std 1003.1. > http://cygwin.com/packages/ results in an error "Invalid regular > expression search string: `[.exe

Suspicious EXE named "[.exe" in c:\cygwin\bin?

2010-12-12 Thread Jeffrey Walton
Hi Guys, The executable name is suspicious at best. Attempting to search http://cygwin.com/packages/ results in an error "Invalid regular expression search string: `[.exe`". Quotes, double quotes, and back ticks do not help during the search. What is this program supposed to do? Jeff -- Problem

Re: 'cygcheck -p' timeout on WinXP (Winsock error 12002)

2010-12-12 Thread Kenneth Wolcott
Hi; On Sat, Dec 11, 2010 at 17:43, Jeffrey Walton wrote: > Hi All, > > Windows XP, fully patched. Cygwin, latest download from website > (installed today). > > It appears cygcheck times out on Windows XP. The timeout occurs with > the Windows firewall up and down. Other downloads are function fin

Re: Problem installing packages

2010-12-12 Thread Jeffrey Walton
On Sun, Dec 12, 2010 at 12:10 AM, Huang Bambo wrote: > It's a windows' behavier. > It will open this box while running a program named setup.exe, just ignore > it. Thanks Huang. Unfortunately, I still cannot install packages :/ Are there "unofficial" instructions anywherethat work as expected? >

Re: g++ 4.5*

2010-12-12 Thread Andy Koppe
On 11 December 2010 22:24, Peter Foelsche wrote: > I tried find some download to install this compiler -- nothing. > I also tried to compile it myself from the sources (did the same for linux > before) > and run into some crazy errors. > Was anybody successful with this? The Cygwin gcc maintainer

Re: Suspicious EXE named .exe in c:\cygwin\bin?

2010-12-12 Thread Andy Koppe
On 12 December 2010 05:01, Jeffrey Walton wrote: > The executable name is suspicious at best. Attempting to search > http://cygwin.com/packages/ results in an error "Invalid regular > expression search string: `.exe`". Quotes, double quotes, and > back > ticks do not help during the search. > > Wh