Re: Compiled program does nothing when executing it under Cygwin

2011-03-14 Thread Csaba Raduly
On Fri, Mar 11, 2011 at 5:36 PM, Larry Hall (Cygwin) wrote: On 3/11/2011 10:09 AM, Mengsk wrote: When checking for the 'cygwin1.dll' file in C:\cygwin\bin, I discovered that there also was a file named 'cygwin1.dll.new' in there. I made a backup of my cygwin1.dll, deleted it and renamed the

Re: Fedora Cygwin RPM repository

2011-03-14 Thread Corinna Vinschen
On Mar 13 23:24, Yaakov (Cygwin/X) wrote: On Sun, 2011-03-13 at 12:36 +0100, Corinna Vinschen wrote: this offer is way cool. Thanks for doing this, because this allows my lazy self to switch to the latest gcc to build Cygwin without having to build the compiler and all the stuff myself.

Re: 1.7.8: write fails with EAGAIN

2011-03-14 Thread Robert Wruck
Hi, just re-tested this with cygwin1-20110313.dll. Here is the result (output of my writetest program): writing 78954543 bytes... result is 32505856, errno is 27 writing 46448687 bytes... result is -1, errno is 27 writing 46448687 bytes... result is -1, errno is 27 [ repeating a few hundred

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread Corinna Vinschen
Hi David, On Mar 12 17:28, David Sastre wrote: Version 4.0-4 of base-files has been uploaded. Base-files is a set of system configuration and setup files. A detailed list of bugfixes and changes in this release can be found in the ChangeLog included in the package. I was just testing some

How to read thumb drive volume label

2011-03-14 Thread Charles Russell
Is there some way to read the volume label on a USB flash drive? Something like blkid in linux? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Sometimes my Windows server reboots at night to install new updates. Then the next day I find out that my cygwin instance has been stopped. What I want is on Windows start, also run Cygwin AND run a specific command. so, step 1: Right now I have a cygwin.bat to start cygwin: @echo off C: chdir

Re: vim-7.3.003-1 signal SEGV after writing to /etc/hosts against cygwin-1.7.8-1 on Windows Vista Home Premium Edition SP2

2011-03-14 Thread Corinna Vinschen
On Mar 13 22:07, Auteria W. Winzer Jr. wrote: Greetings, Upon upgrading to cygwin-1.7.8-1 from 1.7.7-1 whenever I write to /etc/hosts using vim-7.3.003-1 it immediately catches deadly signal SEGV even though the change(s) are successful: $ vi /etc/hosts Vim: Caught deadly signal SEGV

dd to thumb drive, W7 permission problem

2011-03-14 Thread Charles Russell
The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission denied 3+0 records in 2+0 records out 1024 bytes (1.0 kB) copied, 0.081 s, 12.6 kB/s I

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread Corinna Vinschen
On Mar 14 10:29, Charles Russell wrote: The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission denied 3+0 records in 2+0 records out 1024

RE: How to read thumb drive volume label

2011-03-14 Thread Buchbinder, Barry (NIH/NIAID) [E]
Charles Russell sent the following at Monday, March 14, 2011 10:03 AM Is there some way to read the volume label on a USB flash drive? Something like blkid in linux? Something like this? function label() { $(cygpath --sysdir)/cmd /c dir ${1}:\\ | \ tr \\r \\n | \ sed -n -e

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread carolus
On 3/14/2011 10:58 AM, Corinna Vinschen wrote: On Mar 14 10:29, Charles Russell wrote: The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission

Re: How to read thumb drive volume label

2011-03-14 Thread carolus
On 3/14/2011 11:11 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Charles Russell sent the following at Monday, March 14, 2011 10:03 AM Is there some way to read the volume label on a USB flash drive? Something like blkid in linux? Something like this? function label() { $(cygpath

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread Matt Seitz (matseitz)
David Sastre d.sastre.med...@gmail.com wrote in message news:announce.20110312162817.gb6...@jethro.local.lan... A detailed list of bugfixes and changes in this release can be found in the ChangeLog included in the package. In the future, would you make available a list of changes that does

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread Roger K. Wells
On 03/14/2011 11:29 AM, Charles Russell wrote: The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission denied 3+0 records in 2+0 records out 1024

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 13:10, Jeremy Bopp wrote: bash -c cd /cygdrive/e/solr/apache-solr-4.0-2010-10-12_08-05-48/example/;java -Dsolr.solr.home=\./example-DIH/solr/\ -jar start.jar I forgot to append the trailing quote on the above command. It should be as follows: bash -c cd

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 09:07, PeterSmith wrote: Sometimes my Windows server reboots at night to install new updates. Then the next day I find out that my cygwin instance has been stopped. What I want is on Windows start, also run Cygwin AND run a specific command. so, step 1: Right now I have a

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
First of: sorry for not providing all info. I DO want to run this command as soon as my machine boots. My server sometimes reboots at night after an update. So when Windows starts, in the Startup Folder I will place a shortcut to the .bat file. I the bat file I now have: @echo off C: chdir

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 13:25, PeterSmith wrote: FYI, this list prefers bottom posting rather than top posting. Reformatting... :-) Jeremy Bopp-3 wrote: bash -c cd /cygdrive/e/solr/apache-solr-4.0-2010-10-12_08-05-48/example/;java -Dsolr.solr.home=\./example-DIH/solr/\ -jar start.jar If you still

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jan Bruun Andersen
On Mar 14, 2011 3:07 PM, PeterSmith wrote: What I want is on Windows start, also run Cygwin AND run a specific command. Why? Why bother with Cygwin? You are starting some Java program that I assume will work just fine when started from a simple CMD-script. @echo off E: cd

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Jeremy Bopp-3 wrote: On 3/14/2011 13:25, PeterSmith wrote: FYI, this list prefers bottom posting rather than top posting. Reformatting... :-) Jeremy Bopp-3 wrote: bash -c cd /cygdrive/e/solr/apache-solr-4.0-2010-10-12_08-05-48/example/;java -Dsolr.solr.home=\./example-DIH/solr/\

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 14:21, PeterSmith wrote: Ok, so for now lets focus on the contents of the .bat file. I'll have a look at the startup of the bat later :) Excellent idea, especially considering that it's not really a Cygwin problem at that point. ;-) I now have this: @echo off C: chdir

Re: Fedora Cygwin RPM repository

2011-03-14 Thread René Berber
On 3/14/2011 3:59 AM, Corinna Vinschen wrote: [snip] I also found another strange problem. It's practically impossible to debug a Cygwin DLL built with this gcc/g++. The debug line number information appears to be screwed up. You need gdb 7.0 or above (current is 7.2 and builds out of the

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Jeremy Bopp-3 wrote: On 3/14/2011 14:21, PeterSmith wrote: Ok, so for now lets focus on the contents of the .bat file. I'll have a look at the startup of the bat later :) Excellent idea, especially considering that it's not really a Cygwin problem at that point. ;-) I now have

Re: Fedora Cygwin RPM repository

2011-03-14 Thread Corinna Vinschen
On Mar 14 14:08, René Berber wrote: On 3/14/2011 3:59 AM, Corinna Vinschen wrote: [snip] I also found another strange problem. It's practically impossible to debug a Cygwin DLL built with this gcc/g++. The debug line number information appears to be screwed up. You need gdb 7.0 or

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread David Sastre
On Mon, Mar 14, 2011 at 10:42:03AM -0700, Matt Seitz (matseitz) wrote: David Sastre wrote in message A detailed list of bugfixes and changes in this release can be found in the ChangeLog included in the package. In the future, would you make available a list of changes that does not

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread David Sastre
On Mon, Mar 14, 2011 at 12:14:19PM +0100, Corinna Vinschen wrote: Hi David, I was just testing some experimental Cygwin code on Windows 2000. I now get this on every invocation of the shell: bash: /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/

RE: How to read thumb drive volume label

2011-03-14 Thread Buchbinder, Barry (NIH/NIAID) [E]
carolus sent the following at Monday, March 14, 2011 1:05 PM I didn't realize that the output of dir depended on whether it was invoked from cygwin or from cmd, and I didn't know about label.exe. dir does not differ depending on from where it is invoked. Compare the output of the following. In

apache accessible from localhost but not 127.0.0.1

2011-03-14 Thread Todd, John
I've set up apache2 under cygwin on a Windows 7 PC, and through Firefox I can load http://localhost/ and retrieve the It works! index page, but cannot retrieve http://127.0.0.1/. wget http://localhost; reports that it resolves localhost to 127.0.0.1, connects to port 80, and gets a 404 Not

FSF releases GCC 4.6.0

2011-03-14 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey list, GCC 4.6.0 was just released into the wild. I was just working on 4.5.2 for mingw-w64 when I saw the news. Btw, can GCC deps like ppl/cloog etc be updated? gcc configure was complaining about them being buggy but acceptable. Dave, any

Re: FSF releases GCC 4.6.0

2011-03-14 Thread David Billinghurst
On 15/03/2011 12:01 PM, JonY wrote: Btw, can GCC deps like ppl/cloog etc be updated? gcc configure was complaining about them being buggy but acceptable. Will see what I can do. David -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: How to read thumb drive volume label

2011-03-14 Thread carolus
On 3/14/2011 4:55 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: carolus sent the following at Monday, March 14, 2011 1:05 PM I didn't realize that the output of dir depended on whether it was invoked from cygwin or from cmd, and I didn't know about label.exe. dir does not differ depending on

Re: Fedora Cygwin RPM repository

2011-03-14 Thread Yaakov (Cygwin/X)
On Mon, 2011-03-14 at 10:59 +0100, Corinna Vinschen wrote: On Mar 13 23:24, Yaakov (Cygwin/X) wrote: I just added a cygwin-binutils-devel package with the necessary headers and static libraries. The only trick is you need to manually remove /usr/i686-pc-cygwin/lib/libiberty.a so that

Re: [ITP] netcdf-4.1.1-1

2011-03-14 Thread Corinna Vinschen
On Mar 13 23:18, marco atzeri wrote: On Mar  6 12:18, marco atzeri wrote: wget -r -np -nH --cut-dirs=2 http://matzeri.altervista.org/cygwin-1.7/netcdf/index.html uploading again. Uploaded. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to

Re: [ ITA ] base-files

2011-03-14 Thread Andrew Schulman
On Sat, Mar 12, 2011 at 10:12:01AM +0100, Corinna Vinschen wrote: On Mar 12 07:25, Andy Koppe wrote: On 11 March 2011 21:26, David Sastre wrote: Links to base-files-4.0-4: http://crapsteak.org/cygwin/release/base-files/base-files-4.0-4.tar.bz2

[ITP] gnucap-2009.12.07-1

2011-03-14 Thread Peter Li
We discussed this a while back. It's in the standard distros. I pulled the version from cygports and bumped it up to the latest version. I'm also including the last versioned release (0.35) as prev. Version 0.35 is from 2006 and is missing many features, so it is preferable to have

src/winsup/cygwin ChangeLog fhandler_disk_file.cc

2011-03-14 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-03-14 09:14:17 Modified files: winsup/cygwin : ChangeLog fhandler_disk_file.cc Log message: * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only use file id as inode

src/winsup/cygwin ChangeLog fhandler.cc fhandler.h

2011-03-14 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-14 09:32:05 Modified files: winsup/cygwin : ChangeLog fhandler.cc fhandler.h Log message: * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove

src/winsup/cygwin ChangeLog fhandler_disk_file.cc

2011-03-14 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-14 09:34:57 Modified files: winsup/cygwin : ChangeLog fhandler_disk_file.cc Log message: * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only use

src/winsup/cygwin ChangeLog uinfo.cc

2011-03-14 Thread corinna
CVSROOT:/cvs/src Module name:src Branch: cv-post-1_7_9 Changes by: cori...@sourceware.org 2011-03-14 21:09:53 Modified files: winsup/cygwin : ChangeLog uinfo.cc Log message: * uinfo.cc (cygheap_user::env_domain): Use LookupAccountSidW and

Re: [PATCH] Add an additional relocation attempt pass to load_after_fork()

2011-03-14 Thread Jon TURNEY
On 13/03/2011 15:21, Corinna Vinschen wrote: Thanks for the patch, but afaics you don't have a copyright assignment on file with Red Hat. It's unfortunately required for substantial patches. Please see http://cygwin.com/contrib.html, especially the Before you get started section. No