Re: The same assembly code but different result on cygwin and Centos

2011-04-25 Thread Václav Haisman
matthew chao wrote, On 26.4.2011 4:52: > The code below assigns an integer number 20 to %ebx, which can be > CORRECTLY assembled on both cygwin and CentOS, > > ###code begin### > .section .data > items: > .long 20 > > .section .text > .globl _start > _start: > movl $0,%edi > movl items(,%e

Re: untarring symlinks with ../ fails randomly

2011-04-25 Thread Dima Pasechnik
Dear all, that's roughly what I also sent to the list in reply to Corinna's message, but it didn't get through (spamfilter? blacklist? - no idea). I tried sending 4 times, and all these messages went to a black hole... On 25 April 2011 22:59, Lester Ingber wrote: > Corinna Vinschen cygwin.com>

The same assembly code but different result on cygwin and Centos

2011-04-25 Thread matthew chao
The code below assigns an integer number 20 to %ebx, which can be CORRECTLY assembled on both cygwin and CentOS, ###code begin### .section .data items: .long  20 .section .text .globl _start _start:   movl $0,%edi   movl items(,%edi,4),%eax   movl %eax,%ebx   movl $1,%eax   int $0x80 ###code e

Re: untarring symlinks with ../ fails randomly

2011-04-25 Thread Lester Ingber
Corinna Vinschen cygwin.com> writes: > > On Apr 24 17:14, Dima Pasechnik wrote: > > Dear all, > > reposting, as the message did not get through to the mailing list yesterday: > > > > The issue I have is exactly as described in > > http://sourceware.org/ml/cygwin/2011-04/msg00299.html > > I can

combination of bash and cmd.exe causes fatal error when used under CYGWIN=tty

2011-04-25 Thread Len Giambrone
Greetings. If I set CYGWIN=tty, then cygwin programs die with *** fatal error - couldn't initialize fd 0 for /dev/ttyN Example: C:\cygwin\home\lgiambro>bash -c "cmd /c 'ls'"   0 [main] ls 7440 C:\cygwin\bin\ls.exe: *** fatal error - couldn't initiali ze fd 0 for /dev/tty7   0 [main] ls

Re: [PATCH] base-files-4.0.6: Change prompt if running with admin rights

2011-04-25 Thread David Sastre
On Sun, Apr 24, 2011 at 06:39:12PM +0200, Christian Franke wrote: > On 2011-04-01, Christian Franke wrote: > >The attached patch for /etc/profile and /etc/bash.bashrc sets a > >root prompt ('#' instead of '$' or '%') if the shell runs with > >admin rights (local or domain admin group). Trying to d

Re: an updated howto on a portable/usb cygwin installguide?

2011-04-25 Thread Fergus
> Is there an updated howto on a portable/usb cygwin installguide? Since 1.7 > cygwin no longer writes to the registry so I was curious if there were any > changed on making a portable install and/or a end all guide on the process. I run routinely off a portable stick. Installing cygwin direct