Re: Finding junction points in cygwin

2009-11-08 Thread Andy Koppe
2009/11/9 aputerguy: > Does cygwin have any ability to find/identify NTFS junction points? > This would be useful so that you don't inadvertently mistreat them thinking > they are regular files or directories. They appear as symbolic links. Dunno how to tell them from other sorts of shortcuts. >

gcc4-java: gcjh will not run

2009-11-08 Thread Yaakov (Cygwin/X)
Dave, $ gcjh-4 --help Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.initializeClass(Unknown Source) at gnu.classpath.tools.common.Messages.getString(Unknown Source) at gnu.classpath.tools.common.ClasspathToolParser.getVersionString(Unknown Source)

Re: New gcc-4 compile error w/getc and isspace

2009-11-08 Thread Dave Korn
Vin Shelton wrote: > t2.c: In function ‘tst’: > t2.c:9: error: lvalue required as left operand of assignment > Did something recently change in the ctype.h or stdio.h header files to > cause this? http://sourceware.org/ml/newlib/2009/msg01030.html cheers, DaveK -- Problem reports:

New gcc-4 compile error w/getc and isspace

2009-11-08 Thread Vin Shelton
Consider this module: #include #include void tst(FILE *fp) { int c; while ( isspace(c = getc(fp)) ) ; return; } gcc-4 -c t2.c t2.c: In function ‘tst’: t2.c:9: error: lvalue required as left operand of assignment I'm pretty sure this module used to compile successfully under gcc-4

Finding junction points in cygwin

2009-11-08 Thread aputerguy
Does cygwin have any ability to find/identify NTFS junction points? This would be useful so that you don't inadvertently mistreat them thinking they are regular files or directories. Also, is there any native cygwin utilities with functionality similar to junction.exe allowing you to make or dele

Re: 1.7] Can you have multipe cygdrive path prefixes active at once

2009-11-08 Thread aputerguy
I am currently using the following 'sed' one liner. It should work except in the case where your cygdrive prefix has two or more spaces in a row followed by the word 'system' or user' followed again by 2 or more spaces. Pretty unlikely but not impossible of course... mount -p | sed -ne "s/\(.*\S\

Re: 1.7] Can you have multipe cygdrive path prefixes active at once

2009-11-08 Thread aputerguy
Lee Rothstein wrote: > Does this not do what's required (barring spaces in the > "Cygdrive" alternative prefix): > > mount -p | gawk 'NR==2 { print $1 }' Unfortunately, your method would fail if there were *any* spaces in the pathname. Since regardless of what you say about the lack of "abject st

Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file

2009-11-08 Thread Jim Reisert AD1C
Corinna, the new grep works super great - thanks! -- Jim Reisert AD1C, , http://www.ad1c.us -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsu

Re: setfacl.exe includes Trojaner TR/Dropper.Gen ?

2009-11-08 Thread Dave Korn
Matthias Meyer wrote: > Avira AntiVir Personal found the Trojaner TR/Dropper.Gen within setfacl.exe > as well as in getfacl.exe. > It seems that AntiVir found this Trojan with a generic detection routine. > > Anybody knows something about this? > > br > Matthias I think your own sig said it bes

setfacl.exe includes Trojaner TR/Dropper.Gen ?

2009-11-08 Thread Matthias Meyer
Avira AntiVir Personal found the Trojaner TR/Dropper.Gen within setfacl.exe as well as in getfacl.exe. It seems that AntiVir found this Trojan with a generic detection routine. Anybody knows something about this? br Matthias -- Don't Panic -- Problem reports: http://cygwin.com/problems.h

Re: [1.7] Updated: cygwin-1.7.0-63

2009-11-08 Thread Eric Backus
Corinna Vinschen cygwin.com> writes: > On Nov 7 20:38, Eric Backus wrote: > > Jim Reisert AD1C alum.mit.edu> writes: > > > > > How do I make this work, while maintaining: > > > > > > LANG=en_US.UTF-8 > > > > > > - Jim > > > > You might try "LANG=en_us.UTF-8" (Note the lower-case "us").

Re: Broken autoconf mmap test (was Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file)

2009-11-08 Thread Charles Wilson
Corinna Vinschen wrote: > On Nov 8 14:56, Corinna Vinschen wrote: >> Btw., the check for mmap in grep's configure file is broken. It tries >> to mmap to a fixed address formerly allocated via malloc(). This doesn't >> work on Windows. An autoconf run with a newer version of autoconf would >> be

Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file

2009-11-08 Thread Christopher Faylor
On Sun, Nov 08, 2009 at 12:27:29PM -0600, Yaakov (Cygwin/X) wrote: >On 08/11/2009 07:56, Corinna Vinschen wrote: >> Btw., the check for mmap in grep's configure file is broken. It tries >> to mmap to a fixed address formerly allocated via malloc(). This doesn't >> work on Windows. An autoconf ru

Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file

2009-11-08 Thread Yaakov (Cygwin/X)
On 08/11/2009 07:56, Corinna Vinschen wrote: Btw., the check for mmap in grep's configure file is broken. It tries to mmap to a fixed address formerly allocated via malloc(). This doesn't work on Windows. An autoconf run with a newer version of autoconf would be nice. You said the same thing

Re: Problem with rsync 3.0.6-1 under 1.7.0-62 and 63

2009-11-08 Thread Steven Monai
Eliot Moss wrote: > There does > not seem to be anything like this reported in the rsync list, > so I think it's particular to cygwin, and probably to 1.7.x. I really think you should report what you're seeing to the rsync mailing list. It is entirely possible that no one who has run your particu

RE: Wodim under non admin account

2009-11-08 Thread Jason Pyeron
Does anyone know of a way to get wodim to work under a non privileged account? > -Original Message- > From: Pyeron, Jason J CTR NSWCCD, 3430 > Sent: Sunday, November 08, 2009 11:02 > To: Jason Pyeron > Subject: Wodim under non admin account > > > jason.pyeron@ddcrdr003646 ~ > $ id >

Re: Broken autoconf mmap test (was Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file)

2009-11-08 Thread Christopher Faylor
On Sun, Nov 08, 2009 at 10:51:56AM -0500, Ralph Hempel wrote: >Corinna Vinschen wrote: >> On Nov 8 14:56, Corinna Vinschen wrote: >>> Btw., the check for mmap in grep's configure file is broken. It tries >>> to mmap to a fixed address formerly allocated via malloc(). This doesn't >>> work on Win

[ANNOUNCEMENT] [1.7] Updated: grep-2.5.4-1

2009-11-08 Thread Christopher Faylor
I've made a new version of 'grep' (http://www.gnu.org/software/grep/) available for installation. This is the most recent version of grep available from ftp.gnu.org + a patch from the Fedora project which seems to alleviate the problem mentioned here: http://cygwin.com/ml/cygwin/2009-11/threads.h

Re: Broken autoconf mmap test (was Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file)

2009-11-08 Thread Ralph Hempel
Corinna Vinschen wrote: On Nov 8 14:56, Corinna Vinschen wrote: Btw., the check for mmap in grep's configure file is broken. It tries to mmap to a fixed address formerly allocated via malloc(). This doesn't work on Windows. An autoconf run with a newer version of autoconf would be nice. I

Re: Problem with rsync 3.0.6-1 under 1.7.0-62 and 63

2009-11-08 Thread Eliot Moss
Eliot Moss wrote: Eliot Moss wrote: Tried two more things ... - rsync in the opposite direction fails in the same way - adding --protocol=29 (to match the remote end) did not change the behavor Unfortunately no other version of rsync is available with cygwin 1.7.x, so I can't simply install

Re: Problem with rsync 3.0.6-1 under 1.7.0-62 and 63

2009-11-08 Thread Eliot Moss
Eliot Moss wrote: Tried two more things ... - rsync in the opposite direction fails in the same way - adding --protocol=29 (to match the remote end) did not change the behavor Unfortunately no other version of rsync is available with cygwin 1.7.x, so I can't simply install an earlier version

Broken autoconf mmap test (was Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file)

2009-11-08 Thread Corinna Vinschen
On Nov 8 14:56, Corinna Vinschen wrote: > Btw., the check for mmap in grep's configure file is broken. It tries > to mmap to a fixed address formerly allocated via malloc(). This doesn't > work on Windows. An autoconf run with a newer version of autoconf would > be nice. I just found that the

Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file

2009-11-08 Thread Corinna Vinschen
On Nov 8 11:30, Corinna Vinschen wrote: > On Nov 7 15:26, aputerguy wrote: > > > > Changing LC_ALL also solved the problem for me. > > But it begs the question of how many other basic and take-for-granted > > functions might be affected by this apparent UTF-8 slowdown. And again we, > > are not

Re: cygwin 1.7.0-63 problems with X programs

2009-11-08 Thread Corinna Vinschen
On Nov 7 09:27, Eliot Moss wrote: > Like another user, I had difficulty getting X to fire up. > After setting LANG=en_US.UTF-8 I got farther, but these issues > remain: > > Each xterm, xemacs, and xclock I start outputs this: > > Warning: Missing charsets in String to FontSet conversion > > I a

Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file

2009-11-08 Thread Corinna Vinschen
On Nov 7 15:26, aputerguy wrote: > > Changing LC_ALL also solved the problem for me. > But it begs the question of how many other basic and take-for-granted > functions might be affected by this apparent UTF-8 slowdown. And again we, > are not talking about some minor overhead, we are talking abo

Re: [1.7] Updated: cygwin-1.7.0-63

2009-11-08 Thread Corinna Vinschen
On Nov 7 20:38, Eric Backus wrote: > Jim Reisert AD1C alum.mit.edu> writes: > > > Thanks, Eric. I tried this but could not get what I wanted: > > > > LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso" > > > > -rwx-- 1 reisertDomain Users3326 2009-10-30 12:51 .XWinrc

Re: X-Server does not start

2009-11-08 Thread Eliot Moss
(I think my first response did not go to the list ...) miem...@physik.hu-berlin.de wrote: > Since the new release 1.7.63 the connection to the X-server seems to > work incorrectly. > > In Version 1.7.62 everything was function properly. I had the same problem, and a fix was already mentioned (th

X-Server does not start

2009-11-08 Thread miemiec
Since the new release 1.7.63 the connection to the X-server seems to work incorrectly. In Version 1.7.62 everything was function properly. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html U

Re: Problem with rsync 3.0.6-1 under 1.7.0-62 and 63

2009-11-08 Thread Eliot Moss
Tried two more things ... - rsync in the opposite direction fails in the same way - adding --protocol=29 (to match the remote end) did not change the behavor Unfortunately no other version of rsync is available with cygwin 1.7.x, so I can't simply install an earlier version. I think I'll need