Re: PHP error

2013-12-17 Thread Andrey Repin
Greetings, wynfi...@gmail.com! > While checking to see what verions of php I had I ran php --version and > received the following warning regarding mysqli: > $ php --version >PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 >PHP Warning: Module 'mysqli' already loaded

locale "de_DE.UTF-8", fscanf problem?

2013-12-17 Thread Tilman Kuepper
Hello, There seems to be an "unbalance" with fprintf and fscanf when using the "de_DE.UTF-8" locale. The following program correctly writes "2,5" (decimal comma) to a file. But reading with fscanf fails - the decimal comma is treated as "end of number". Regards, Tilman -- #inc

Re: cannot execute binary file

2013-12-17 Thread Andrey Repin
Greetings, Gerry Reno! > I just got finished installing Cygwin on another machine and this time the -c > does work. So I went back and looked at > the original machine. There are 2 cygwin installations on that machine in > different directories. I had forgotten that > Cygwin got installed a wh

Re: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-17 Thread Corinna Vinschen
Please don't http://cygwin.com/acronyms/#TOFU Thanks. On Dec 16 12:11, Steven Bardwell wrote: > OK -- I rewrote the test program using the POSIX IPC routine sem_open() > and the program runs in SH.exe (and mintty.exe) but gives this message > when run from a DOS box: > > Warning: '/dev/shm' doe

Re: locale "de_DE.UTF-8", fscanf problem?

2013-12-17 Thread Corinna Vinschen
On Dec 17 10:09, Tilman Kuepper wrote: > Hello, > > There seems to be an "unbalance" with fprintf and fscanf when using > the "de_DE.UTF-8" locale. > > The following program correctly writes "2,5" (decimal comma) to a > file. But reading with fscanf fails - the decimal comma is treated > as "end

Re: PHP error

2013-12-17 Thread wynfield
Andrey Thanks for replying. You were right. I found the problem and fixed it. Andrey Repin wrote: > Greetings, wynfield! > > > > While checking to see what verions of php I had I ran php --version and > > received the following warning regarding mysqli: > > > $ php --version > >PH

Re: cannot execute binary file

2013-12-17 Thread Tim Prince
On 12/17/2013 4:32 AM, Andrey Repin wrote: Greetings, Gerry Reno! I just got finished installing Cygwin on another machine and this time the -c does work. So I went back and looked at the original machine. There are 2 cygwin installations on that machine in different directories. I had for

[ANNOUNCEMENT] Updated: chere-1.3-1 (x86 and x86_64)

2013-12-17 Thread Dave Kilroy
Version 1.3-1 of "chere" has been uploaded and should be available from mirrors shortly. chere is a script allowing you to add Explorer context menus to start cygwin in the selected directory. This version of the script supports x86 and x86_64. If you have 32 and 64 bit cygwin installed on t

Re: Are there any plans to add chere in the x64 version?

2013-12-17 Thread Dave Kilroy
On 12/12/2013 17:01, klonos wrote: Is there a feature request filed and any link to it so I can follow? Thanx in advance. In case you missed it, I've just released an initial version of chere for x86_64 Dave. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: [ANNOUNCEMENT] Updated: gcc-4.7.3-1

2013-12-17 Thread Trong Nguyen
JonY <10walls gmail.com> writes: > > * Previous gcc4-4.5.3 has been renamed to gcc and placed as previous. > I have some program that use gcc4 packet (like NS2), so, how can I rename gcc back to gcc4 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cy

Re: cannot execute binary file

2013-12-17 Thread Gerry Reno
On 12/17/2013 07:44 AM, Tim Prince wrote: > > On 12/17/2013 4:32 AM, Andrey Repin wrote: >> Greetings, Gerry Reno! >> >>> I just got finished installing Cygwin on another machine and this time the >>> -c does work. So I went back and looked at >>> the original machine. There are 2 cygwin install

Re: locale "de_DE.UTF-8", fscanf problem?

2013-12-17 Thread Corinna Vinschen
On Dec 17 11:04, Corinna Vinschen wrote: > On Dec 17 10:09, Tilman Kuepper wrote: > > Hello, > > > > There seems to be an "unbalance" with fprintf and fscanf when using > > the "de_DE.UTF-8" locale. > > > > The following program correctly writes "2,5" (decimal comma) to a > > file. But reading wi

Re: [ANNOUNCEMENT] Updated: gcc-4.7.3-1

2013-12-17 Thread marco atzeri
Il 12/17/2013 4:57 PM, Trong Nguyen ha scritto: JonY <10walls gmail.com> writes: * Previous gcc4-4.5.3 has been renamed to gcc and placed as previous. I have some program that use gcc4 packet (like NS2), so, how can I rename gcc back to gcc4 in your ~/bin or /usr/local/bin ln -s /usr

Re: Odd command line recall problem

2013-12-17 Thread Larry Hall (Cygwin)
On 12/17/2013 2:22 PM, buggsy2 wrote: Latest cygwin64 release as of posting on Windows 7x64 GNU bash, version 4.1.11(2)-release Running in the cygwin terminal (C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico ) The several commands I use all recall correctly using the up-arrow key. That is, I

Odd command line recall problem

2013-12-17 Thread buggsy2
Latest cygwin64 release as of posting on Windows 7x64 GNU bash, version 4.1.11(2)-release Running in the cygwin terminal (C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico ) The several commands I use all recall correctly using the up-arrow key. That is, I type a command, it executes, I can recal

Re: cannot execute binary file

2013-12-17 Thread Gerry Reno
On 12/17/2013 11:27 AM, Gerry Reno wrote: > On 12/17/2013 07:44 AM, Tim Prince wrote: >> On 12/17/2013 4:32 AM, Andrey Repin wrote: >>> Greetings, Gerry Reno! >>> I just got finished installing Cygwin on another machine and this time the -c does work. So I went back and looked at t

Re: Odd command line recall problem

2013-12-17 Thread Andrey Repin
Greetings, buggsy2! > Latest cygwin64 release as of posting on Windows 7x64 > GNU bash, version 4.1.11(2)-release > Running in the cygwin terminal (C:\cygwin64\bin\mintty.exe -i > /Cygwin-Terminal.ico ) > The several commands I use all recall correctly using the up-arrow key. That > is, I type a

Change in behavior of bash / if [

2013-12-17 Thread Buchbinder, Barry (NIH/NIAID) [E]
Today, a script that I use every day stated giving me the following error message. (I grant that it might have started earlier and I didn't notice.) Note that although it gave the error message, the script seems to still have worked. ./lddir: line 77: [: too many arguments Line 77 was as follow

Re: grep sometimes hang on 1.7.25

2013-12-17 Thread Christopher Faylor
On Mon, Dec 16, 2013 at 03:39:26PM -0500, Christopher Faylor wrote: >On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote: >> `ps | cat` will hang too. > >I can duplicate this problem. I'm looking into it. This should be fixed in the upcoming cygwin snapshot. http://cygwin.com/snapshots/ W

Re: grep sometimes hang on 1.7.25

2013-12-17 Thread Christopher Faylor
On Tue, Dec 17, 2013 at 10:59:13PM -0500, Christopher Faylor wrote: >On Mon, Dec 16, 2013 at 03:39:26PM -0500, Christopher Faylor wrote: >>On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote: >>> `ps | cat` will hang too. >> >>I can duplicate this problem. I'm looking into it. > >This should

Re: moving pty master by dup()/close() causes read() to fail

2013-12-17 Thread Christopher Faylor
On Mon, Dec 16, 2013 at 03:39:54PM -0500, Christopher Faylor wrote: >On Mon, Dec 16, 2013 at 10:21:12PM +0900, Jun T. wrote: >>Hi all. I'm new to this list. >> >>The test code at the end of this post has some problem on Cygwin. > >Thanks for the test code. I can duplicate the problem and am lookin

Re: Change in behavior of bash / if [

2013-12-17 Thread Eric Blake
On 12/17/2013 08:02 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Today, a script that I use every day stated giving me the following > error message. (I grant that it might have started earlier and I > didn't notice.) Note that although it gave the error message, the > script seems to still hav

Re: grep sometimes hang on 1.7.25

2013-12-17 Thread Christopher Faylor
On Tue, Dec 17, 2013 at 11:02:21PM -0500, Christopher Faylor wrote: >On Tue, Dec 17, 2013 at 10:59:13PM -0500, Christopher Faylor wrote: >>On Mon, Dec 16, 2013 at 03:39:26PM -0500, Christopher Faylor wrote: >>>On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote: `ps | cat` will hang too.