Re: setup, upx, and TLS

2010-09-10 Thread Lapo Luchini
Yaakov (Cygwin/X) wrote: > On Sun, 2010-09-05 at 15:27 -0400, Charles Wilson wrote: >> Lapo, are you still here? Could we get an updated upx package, please? > > I'm not so sure that he is still here. Sorry guys, a long strike of too many things to do at the same time had me going a bit in round

RE: 1.7.5: Occasional failure of CreatePipe or signal handing due to thread-unsafe code in cwdstuff::set

2010-09-10 Thread John Carey
On Sep 04 02:26 Corinna Vinschen wrote: > On Sep 3 16:18, John Carey wrote: > > On Sep 03 12:37 Corinna Vinschen wrote: > > > On Sep 2 23:32, John Carey wrote: > > > > In Aug 17 10:15, Corinna Vinschen wrote: > > > > > I just released 1.7.6-1. > > > > ... > > > > > What changed since Cygwin 1.7.5

Re: rm -r removes directory but reports "cannot remove 'dir', directory not empty"

2010-09-10 Thread Saurabh T
> What is that I: drive? What does `mount' print as filesystem type of > /cygdrive/i, and what does `/usr/lib/csih/getVolInfo /cygdrive/i' > print(*)? I assume I: is not Samba, right? > Corinna mount shows: I: on /cygdrive/i type cifs (binary,posix=0,user,noumount,auto) compared to C: on /cygdr

Re: quick way to find out if a file is in use by windows?

2010-09-10 Thread jurriaan
> However, the workaround was missing a break from the loop, if the > sharing violation persists. I fixed that in CVS. > I do love open source software like this - fixes on a friday night. I'm not sure if I'm ready to use CVS on a production system, but thanks a lot! Kind regards, Jurriaan --

Re: rm -r removes directory but reports "cannot remove 'dir', directory not empty"

2010-09-10 Thread Corinna Vinschen
On Sep 10 19:04, Saurabh T wrote: > > This is with the latest cygwin and coreutils 8.5-2. > > Good: > > mkdir 1; echo $? > 0 > > rm -fr 1; echo $? > 0 > > ls 1 > ls: cannot access 1: No such file or directory > > Bad: > > mkdir 1; echo $? > 0 > > rm -fr 1; echo $? > rm: cannot remove '1': Direct

RE: quick way to find out if a file is in use by windows?

2010-09-10 Thread Conway, Timothy
> Is there any way to detect if a file is in use by windows before > executing 'mv' (I really, really hope I don't have to use the > 'handle.exe' utility, which takes seconds for each file...)? fuser 73, Tim Conway JBS USA | 1770 Promontory Ci | Greeley, CO 80634| USA Direct: 970-506-7998 | F

Re: quick way to find out if a file is in use by windows?

2010-09-10 Thread Corinna Vinschen
On Sep 10 21:22, jurri...@rivierenland.xs4all.nl wrote: > > mv does not timeout. The underlying unlink function checks if the file > > is in use and, if so, moves the file to the bin and sets the delete > > disposition so it will be deleted after the last process closes its > > handle to the file.

Re: ***Fatal error couldn't allocate heap win 32 error 487***

2010-09-10 Thread Larry Hall (Cygwin)
On 9/10/2010 3:14 PM, Sridhar Balasubramanian wrote: Hi, For the past few days, i have been facing this particular problem with cygwin:-- I have a perl script to convert .pgm files to .tif file. It used to be working perfectly fine through cygwin bash shell. However, couple of days back it stop

Re: chmod -R 777*

2010-09-10 Thread Corinna Vinschen
On Sep 10 12:57, René Berber wrote: > On 9/10/2010 11:18 AM, René Berber wrote: > > On 9/10/2010 4:04 AM, Yohann wrote: > > > > [snip] > >> Is there any way to check the proper permission configuration on windows > >> XP or > >> to restore it? > > > > Windows doesn't care about permissions, it

Re: chmod -R 777*

2010-09-10 Thread René Berber
On 9/10/2010 11:18 AM, René Berber wrote: > On 9/10/2010 4:04 AM, Yohann wrote: > > [snip] >> Is there any way to check the proper permission configuration on windows XP >> or >> to restore it? > > Windows doesn't care about permissions, it uses 777 for everything, and > that is the default (ev

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Quanah Gibson-Mount
--On Friday, September 10, 2010 7:09 PM +0200 Corinna Vinschen wrote: Let me know if there is anything else I can provide. I'm not sure. I don't think so. The problem is that the unlink(2) function in Cygwin does not get any error code from any of the OS functions it calls. So, from the Cyg

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Corinna Vinschen
On Sep 10 09:47, Quanah Gibson-Mount wrote: > The files are created with a native Win32 application (Perforce), > where it is checking these files out of the Perforce repository. > > Here is the output from cacls prior to +w/-w: > bu...@zre-win-002 > /cygdrive/z/current/WINDOWS/main/2010090813145

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Quanah Gibson-Mount
--On Friday, September 10, 2010 11:16 AM +0200 Corinna Vinschen <> wrote: On Sep 8 15:17, Quanah Gibson-Mount wrote: I have a CIFS drive I connect to as the windows user. I can write to the drive with no problem. However, when I go to delete files from the drive, Cygwin behaves very oddly.

Re: chmod -R 777*

2010-09-10 Thread René Berber
On 9/10/2010 4:04 AM, Yohann wrote: [snip] > Is there any way to check the proper permission configuration on windows XP > or > to restore it? Windows doesn't care about permissions, it uses 777 for everything, and that is the default (everything has that permission, text, pictures, music, zip

Re: quick way to find out if a file is in use by windows?

2010-09-10 Thread Corinna Vinschen
On Sep 10 11:46, Jurriaan wrote: > I use the mv command to clean up some directories filled with temporary > files. These may or may not be in use by windows. > > I used to detect them being in use by windows by mv failing. > > Now, mv is simply taking forever. > > I'm using cygwin 1.7.7(0.230/5

chmod -R 777*

2010-09-10 Thread Yohann
Hello, I use windows XP on a small server. Lately I downloaded a software (hydrological computation) which asked me to install as well ‘cygwin’ and then to perform in cygwin window the command: ‘chmod –R 777 *’ in order to give writings permission and allow the software to perform. I admit, I

quick way to find out if a file is in use by windows?

2010-09-10 Thread Jurriaan
I use the mv command to clean up some directories filled with temporary files. These may or may not be in use by windows. I used to detect them being in use by windows by mv failing. Now, mv is simply taking forever. I'm using cygwin 1.7.7(0.230/5/3), windows 2003 server 32 bits with all updates

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Corinna Vinschen
On Sep 8 15:17, Quanah Gibson-Mount wrote: > I have a CIFS drive I connect to as the windows user. I can write > to the drive with no problem. However, when I go to delete files > from the drive, Cygwin behaves very oddly. > > bu...@zre-win-002 > /cygdrive/z/current/WINDOWS/main/20100908131458