Re: the soft link of cygwin must have system attribute of window

2009-12-04 Thread Dave Korn
nwpu053...@gmail wrote: > Can the limitation be canceled? I don't think so, not without slowing things down by making *every* file have to be opened to check if it is a symlink, instead of only files with the (otherwise uncommon) system attribute. cheers, DaveK -- Problem reports:

the soft link of cygwin must have system attribute of window

2009-12-04 Thread nwpu053...@gmail.com
Can the limitation be canceled? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: nasm -- what format does cygwin use?

2009-12-04 Thread Dave Korn
Tim Prince wrote: > Linda Walsh wrote: >> I am trying to compile a program that use nasm and it thought that >> gnuwin32 was a format for nasm (don't know if it used to be, but it's >> not now). >> >> Does cygwin use standard linux format now 'elf', or is it using >> win32?..or >> something else)?

Re: nasm -- what format does cygwin use?

2009-12-04 Thread Tim Prince
Linda Walsh wrote: I am trying to compile a program that use nasm and it thought that gnuwin32 was a format for nasm (don't know if it used to be, but it's not now). Does cygwin use standard linux format now 'elf', or is it using win32?..or something else)? If running inside cygwin, you let th

Re: nasm -- what format does cygwin use?

2009-12-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Linda Walsh on 12/4/2009 5:21 PM: > Does cygwin use standard linux format now 'elf', or is it using win32?..or > something else)? Cygwin is a windows app, therefore it uses PE-COFF like all other windows apps. Reading the list archives w

Re: Confusion re: use of rebaseall vs. rebase to relieve BitDefender woes REDUX

2009-12-04 Thread Ed Gaines
Eliot Moss wrote: I should have asked you in my last email: should I have reloaded cygwin prior to attempting to use the steps you prescribed in your response? What does "reloaded" mean? Reinstalled, in other words. Poor choice of words on my part... Best procedure is: - reboot system -

Re: [ANNOUNCEMENT] [1.7] Updated: grep-2.5.4-2

2009-12-04 Thread Gary Johnson
On 2009-11-25, Christopher Faylor wrote: > 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 Mandrake project which > seems to alleviate the problem mentioned h

nasm -- what format does cygwin use?

2009-12-04 Thread Linda Walsh
I am trying to compile a program that use nasm and it thought that gnuwin32 was a format for nasm (don't know if it used to be, but it's not now). Does cygwin use standard linux format now 'elf', or is it using win32?..or something else)? Thanks, -linda -- Problem reports: http://cygwin.

[1.5.17] sshing doesnt work for pub/priv key. Password works. Win2003

2009-12-04 Thread Robert Westendorp
Hi, I'm having an issue ssh'ing into a cygwin box. It was running Windows 2000 and was upgraded to Windows 2003. When I turn on debugging the last lines I get are this: -- snip -- debug1: read PEM private key done: type RSA debug3: sign_and_send_pubkey debug2: we sent a publickey packet, wait

Re: [1.7] getgroups regression?

2009-12-04 Thread Ken Brown
On 12/4/2009 5:48 PM, Eric Blake wrote: On further review, I found my 1.7 /etc/group was more than twice the size of the 1.5 version; and all of that bulk came from duplicated entries. [...] But that still makes me wonder - is there anything we are doing in a typical install that might be accid

Re: [1.7] getgroups regression?

2009-12-04 Thread Eric Blake
Eric Blake byu.net> writes: > > On the same machine, I see: > > cygwin-1.5$ id -G | wc > 1 24 136 > > cygwin-1.7$ id -G | wc > 1 46 264 > cygwin-1.7$ printf %s\\n `id -G` | sort -u | wc > 24 24 136 > > In other words, under cygwin 1.7, the last 22 e

[1.7] getgroups regression?

2009-12-04 Thread Eric Blake
On the same machine, I see: cygwin-1.5$ id -G | wc 1 24 136 cygwin-1.7$ id -G | wc 1 46 264 cygwin-1.7$ printf %s\\n `id -G` | sort -u | wc 24 24 136 In other words, under cygwin 1.7, the last 22 entries are placed in the getgroups results twice. --

Re: Confusion re: use of rebaseall vs. rebase to relieve BitDefender woes REDUX

2009-12-04 Thread Ed Gaines
Alas, I ran the commands as you recommend below, and there is yet no joy here in Mudville. I apologize in advance for the length of this -- I'm ignorant, so I don't know which details I can omit -- but as you'll see when you arrive at the end, the questions I'm asking are in fact quite few and qu

Re: Confusion re: use of rebaseall vs. rebase to relieve BitDefender woes

2009-12-04 Thread Ed Gaines
Thanks so much for your response! A few mop-up questions below. Hope you don't mind. Eliot Moss wrote: Dear Ed -- I posted this a couple of days ago under another thread. My apologies. I thought I'd researched this carefully before posting. Should have cast my net a bit wider, I guess. H

Re: Base-Files (was Re: Unset TMP/TEMP in profile?)

2009-12-04 Thread Corinna Vinschen
John? Ping? On Dec 2 22:10, Corinna Vinschen wrote: > On Dec 2 13:36, Christopher Faylor wrote: > > On Wed, Dec 02, 2009 at 07:21:40PM +0100, Corinna Vinschen wrote: > > >On Dec 2 18:21, Thomas Wolff wrote: > > >> Corinna Vinschen wrote in another thread about setting LANG: > > >> >>... Andy a

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Corinna Vinschen
On Dec 4 20:39, Fr?d?ric Bron wrote: > > I just uploaded a new Cygwin 1.7 test release, 1.7.0-68. > > Installed this and cannot start Xwin anymore. Here is the content of > /var/log/XWin.0.log: Works fine for me. You should move this to the cygwin-xfree list. Corinna -- Corinna Vinschen

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Frédéric Bron
> I just uploaded a new Cygwin 1.7 test release, 1.7.0-68. Installed this and cannot start Xwin anymore. Here is the content of /var/log/XWin.0.log: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.7.1.0 (10701000) Build Date: 2009-11-11 Contact: cygwin-xf...@cygwin.com XWin

Re: Why does exiting bash window kill off Gvim? (Windows version, but X-would be same question)

2009-12-04 Thread Christopher Faylor
On Fri, Dec 04, 2009 at 06:03:57PM +, Andy Koppe wrote: >2009/12/4 Andy Koppe: >> 2009/12/3 Linda Walsh: >>> In bash I start a copy of gvim.exe (64-bit windows version) in background. >>> I disown the job in bash so bash no longer manages the job -- it should be >>> a free and clear process (un

Re: Why does exiting bash window kill off Gvim? (Windows version, but X-would be same question)

2009-12-04 Thread Andy Koppe
2009/12/4 Andy Koppe: > 2009/12/3 Linda Walsh: >> In bash I start a copy of gvim.exe (64-bit windows version) in background. >> I disown the job in bash so bash no longer manages the job -- it should be >> a free and clear process (unaffected by bash exiting). >> >> Yet when I exit the bash window

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Hugh Myers
Points to you then--- part of my confusion came from thinking of you as no more foreign than say California ;-) --hsm On Fri, Dec 4, 2009 at 10:51 AM, Corinna Vinschen wrote: > On Dec  4 10:42, Hugh Myers wrote: >> Shouldn't have quibbled in the first place, just got hung up on what >> seemed fo

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Corinna Vinschen
On Dec 4 10:42, Hugh Myers wrote: > Shouldn't have quibbled in the first place, just got hung up on what > seemed foreign phrasing for English... Well, after all I am foreign. English being just second language and all that... Corinna -- Corinna Vinschen Please, send mails r

Re: Why does exiting bash window kill off Gvim? (Windows version, but X-would be same question)

2009-12-04 Thread Andy Koppe
2009/12/3 Linda Walsh: > In bash I start a copy of gvim.exe (64-bit windows version) in background. > I disown the job in bash so bash no longer manages the job -- it should be > a free and clear process (unaffected by bash exiting). > > Yet when I exit the bash window (bash running in a console wi

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Hugh Myers
Shouldn't have quibbled in the first place, just got hung up on what seemed foreign phrasing for English... --hsm On Fri, Dec 4, 2009 at 10:38 AM, Corinna Vinschen wrote: > On Dec  4 10:34, Hugh Myers wrote: >> Then I don't understand what "disallowed to" means. > > dup(2) didn't work right for

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Corinna Vinschen
On Dec 4 10:34, Hugh Myers wrote: > Then I don't understand what "disallowed to" means. dup(2) didn't work right for /proc/registry. Is that better? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Hugh Myers
Then I don't understand what "disallowed to" means. --hsm On Fri, Dec 4, 2009 at 10:27 AM, Corinna Vinschen wrote: > On Dec  4 10:22, Hugh Myers wrote: >> Did you mean "disallowed two duplicate file descriptors"? If not what >> did you mean? > > No, I meant "to".  dup(2) on /proc/registry return

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Corinna Vinschen
On Dec 4 10:22, Hugh Myers wrote: > Did you mean "disallowed two duplicate file descriptors"? If not what > did you mean? No, I meant "to". dup(2) on /proc/registry returned with EBADF. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Lead

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Hugh Myers
Did you mean "disallowed two duplicate file descriptors"? If not what did you mean? --hsm On Fri, Dec 4, 2009 at 10:01 AM, Corinna Vinschen wrote: > Hi folks, > > > I just uploaded a new Cygwin 1.7 test release, 1.7.0-68. > > This is supposed to be the last beta release.  We're planning to relea

[ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-68

2009-12-04 Thread Corinna Vinschen
Hi folks, I just uploaded a new Cygwin 1.7 test release, 1.7.0-68. This is supposed to be the last beta release. We're planning to release Cygwin 1.7.1 officially next week. Bugfixes in relation to 1.7.0-67: = - Fix a bug in dup(2) which disallowed to duplicat

Re: Problem with bash script running under NT AUTHORITY\SYSTEM

2009-12-04 Thread Larry Hall (Cygwin)
On 12/04/2009 03:46 AM, Csaba Raduly wrote: On Wed, Dec 2, 2009 at 11:50 PM, Larry Hall (Cygwin) wrote: Remember, SYSTEM is not you. Unless Louis XIV was a Cygwin user, in which case he might have said Le systéme, c'est moi! :-) On Thu, Dec 3, 2009 at 5:02 PM, Almo<> wrote: Ok, it's t

Re: [1.5] question about python/ctypes/dlopen

2009-12-04 Thread kiorky
> On 12/4/2009 23:33, kiorky wrote: import ctypes ctypes.CDLL("/bin/cygwin1.dll"); > > > It seems to work. I suggest loading other dlls for testing. I forgot to say that it is for that specific dll that it do not work. But other stuff depending on geos has been compiled including gdal

Re: [1.5] question about python/ctypes/dlopen

2009-12-04 Thread JonY
On 12/4/2009 23:33, kiorky wrote: JonY a écrit : On 12/4/2009 22:53, kiorky wrote: Hi, have you tried loading "cyggeos_c-1.dll" instead of the import library? Yep, just look at the second part of the first mail It results in "bad address" instead of "permission denied" Hi, Sorry, I was

Re: does LD_PRELOAD work under cygwin?

2009-12-04 Thread Christopher Faylor
On Fri, Dec 04, 2009 at 01:04:33PM +0800, basic wrote: >Hi, > Does LD_PRELOAD work under cygwin? I've tried the following without success: > >gcc test.c >gcc -shared testlib.c -o testlib.dll > >LD_PRELOAD=$HOME/testlib.dll ./a.exe > >where test.c is: > >#include > >int main() >{ >open("", 1);

Re: [1.5] question about python/ctypes/dlopen

2009-12-04 Thread kiorky
JonY a écrit : > On 12/4/2009 22:53, kiorky wrote: > Hi, > > have you tried loading "cyggeos_c-1.dll" instead of the import library? > Yep, just look at the second part of the first mail It results in "bad address" instead of "permission denied" -- Cordialement, KiOrKY GPG Key FingerPrint: 0x

Re: [1.5] question about python/ctypes/dlopen

2009-12-04 Thread JonY
On 12/4/2009 22:53, kiorky wrote: Hello, i'm trying to use python ctypes which use under the hood dlopen. I have a strange permission denied running this following code, if someone have clues ... Base code $ cat test_ctypes.py from ctypes import CDLL CDLL('libgeos_c.dll

Re: Why does exiting bash window kill off Gvim? (Windows version, but X-would be same question)

2009-12-04 Thread Roger K. Wells
Linda Walsh wrote: In bash I start a copy of gvim.exe (64-bit windows version) in background. I disown the job in bash so bash no longer manages the job -- it should be a free and clear process (unaffected by bash exiting). Yet when I exit the bash window (bash running in a console window), Gv

Re: Confusion re: use of rebaseall vs. rebase to relieve BitDefender woes

2009-12-04 Thread Eliot Moss
Dear Ed -- I posted this a couple of days ago under another thread. Here is the rebase procedure that works for me: /bin/rebase -d -b 0x6100 -o 0x2 -v -T > rebase.out and /bin/peflags -d0 -v -T > peflags-d.out /bin/peflags -t0 -v -T > peflags-t.out Note particularly the base

Re: [1.7] cygwin2 performance issue during compilation with autotools

2009-12-04 Thread kiorky
Maybe is there a bug in cygcheck ? Maybe there are others ways that looking in env['PATH'] to construct your "Pathes check" that i am not aware ? Maybe PATH is not related to performance issues, afterall... But for the moment, and my current knowledge, i don't see any duplicates in the $PATH varia

Re: R: does LD_PRELOAD work under cygwin? (solved)

2009-12-04 Thread basic
On 12/04/2009 04:57 PM, basic wrote: > On 12/04/2009 03:05 PM, Marco Atzeri wrote: >> --- Ven 4/12/09, basic ha scritto: >> >>> Hi, >>> Does LD_PRELOAD work under cygwin? I've tried the >>> following without success: >> >> LDPRELOAD works with few peculiarites for multiple dll's >> but this is n

Re: operation not permitted when attempting to ping

2009-12-04 Thread Corinna Vinschen
On Dec 3 21:08, Robert Pendell wrote: > On Thu, Dec 3, 2009 at 7:54 PM, Larry Hall (Cygwin) wrote: > > On 12/03/2009 07:35 PM, Robert Pendell wrote: > >> > >> Whenever I use ping it returns the message socket: Operation not > >> permitted.  This only happens if I am not running the shell as an > >

Re: Base-Files (was Re: Unset TMP/TEMP in profile?)

2009-12-04 Thread Corinna Vinschen
On Dec 4 10:08, Angelo Graziosi wrote: > What about USERNAME and USER? > > Some time ago, I changed my /etc/passwd so that Administrator is > called 'root' in Cygwin, but USERNAME still points to Administrator > instead USER points to 'root'. > > Following this discussion I would ask if we shoul

Re: Base-Files (was Re: Unset TMP/TEMP in profile?)

2009-12-04 Thread Angelo Graziosi
What about USERNAME and USER? Some time ago, I changed my /etc/passwd so that Administrator is called 'root' in Cygwin, but USERNAME still points to Administrator instead USER points to 'root'. Following this discussion I would ask if we should have, in Cygwin, the initialization export USER

Re: R: does LD_PRELOAD work under cygwin?

2009-12-04 Thread basic
On 12/04/2009 03:05 PM, Marco Atzeri wrote: > --- Ven 4/12/09, basic ha scritto: > >> Hi, >> Does LD_PRELOAD work under cygwin? I've tried the >> following without success: > > LDPRELOAD works with few peculiarites for multiple dll's > but this is not your case. > >> >> gcc test.c >> gcc -shared

Re: Problem with bash script running under NT AUTHORITY\SYSTEM

2009-12-04 Thread Csaba Raduly
On Wed, Dec 2, 2009 at 11:50 PM, Larry Hall (Cygwin) wrote: > Remember, SYSTEM is not you. Unless Louis XIV was a Cygwin user, in which case he might have said Le systéme, c'est moi! On Thu, Dec 3, 2009 at 5:02 PM, Almo <> wrote: > > Ok, it's that SYSTEM running through cygwin has no access to