Re: Mingw build problem for TCL

2013-07-19 Thread Corinna Vinschen
On Jul 19 11:47, Jonathan Kelly wrote: > Hi, > > sorry if this isn't the correct place. I have previously used the > mingw-* packages to create a Windows compile of tcl8.6.0, but > currently it doesn't work. It compiles without error as far as I can > see, but when you try to run the executable (t

Re: sqlite defect

2013-07-19 Thread Corinna Vinschen
On Jul 19 10:56, jojelino wrote: > On 2013-07-18 PM 5:59, Corinna Vinschen wrote:> On Jul 18 17:11, > jojelino wrote: > >> On 2013-07-18 AM 10:53, Warren Young wrote: > >>> Nothing so simple. Locking is handled at the OS and/or Cygwin DLL > >>> level. The build change between 3.7.16.2 and 3.7.17-

Re: set - unset not working

2013-07-19 Thread Csaba Raduly
Hi, anurag sharma On Fri, Jul 19, 2013 at 8:18 AM, anurag sharma wrote: > Hi Team, > > i have installed the latest version of the CYgwin ( 1.7 ) , for the > build activities of the NT builds. > i am not able to set/unset env variables. > every time the following error pops up : > > set/unset not

Re: sqlite defect

2013-07-19 Thread Corinna Vinschen
On Jul 19 12:03, Corinna Vinschen wrote: > On Jul 19 10:56, jojelino wrote: > > On 2013-07-18 PM 5:59, Corinna Vinschen wrote:> On Jul 18 17:11, > > jojelino wrote: > > >> On 2013-07-18 AM 10:53, Warren Young wrote: > > >>> Nothing so simple. Locking is handled at the OS and/or Cygwin DLL > > >>>

Re: sqlite defect

2013-07-19 Thread jojelino
On 2013-07-19 PM 7:08, Corinna Vinschen wrote: > ...and, btw., fcntl(fd, F_SETOWN) is only supported on sockets. > > > Corinna > 28 55977555 [main] python 5616 open: 9 = open(/home/Administrator/../..sqlite, 0x58202) .. .. 4680 55982813 [main] python 5616 flock: 0 = flock(9, 6)

Re: sqlite defect

2013-07-19 Thread Corinna Vinschen
On Jul 19 19:28, jojelino wrote: > On 2013-07-19 PM 7:08, Corinna Vinschen wrote: > > ...and, btw., fcntl(fd, F_SETOWN) is only supported on sockets. > > > > > > Corinna > > > 28 55977555 [main] python 5616 open: 9 = > open(/home/Administrator/../..sqlite, 0x58202) > .. > .. > 4680

Re: confirm subscribe to cygwin-developers-dig...@cygwin.com

2013-07-19 Thread Corinna Vinschen
On Jul 18 15:15, Christopher Faylor wrote: > [What an odd subject line] > On Thu, Jul 18, 2013 at 04:23:32PM +0100, trefor.2.edwa...@bt.com wrote: > >I have a very recent version of Cygwin and using the SIPP application. > >This calls nanosleep from within a thread. > > "Very recent" is not a prec

Re: sqlite defect

2013-07-19 Thread jojelino
On 2013-07-19 PM 8:30, Corinna Vinschen wrote: A valid testcase would help a lot, though. What you meant to do was calling flock with LOCK_EX|LOCK_NB. that's what exactly sqlite3 that uses the mandatory-locking did. reproducing the behavior was i meant to do. And then again, your testcase wor

Re: confirm subscribe to cygwin-developers-dig...@cygwin.com

2013-07-19 Thread Corinna Vinschen
On Jul 19 13:40, Corinna Vinschen wrote: > On Jul 18 15:15, Christopher Faylor wrote: > > [What an odd subject line] > > On Thu, Jul 18, 2013 at 04:23:32PM +0100, trefor.2.edwa...@bt.com wrote: > > >I have a very recent version of Cygwin and using the SIPP application. > > >This calls nanosleep fro

Re: sqlite defect

2013-07-19 Thread Corinna Vinschen
On Jul 19 20:53, jojelino wrote: > On 2013-07-19 PM 8:30, Corinna Vinschen wrote: > >A valid testcase would help a lot, though. What you meant to do > >was calling flock with LOCK_EX|LOCK_NB. > > > that's what exactly sqlite3 that uses the mandatory-locking did. > reproducing the behavior was i me

Re: sqlite defect

2013-07-19 Thread jojelino
On 2013-07-19 PM 9:02, Corinna Vinschen wrote: There *is* a workaround: export CYGWIN_SQLITE_LOCKING=posix See http://cygwin.com/ml/cygwin-announce/2013-06/msg00014.html It's very good workaround instead of rebuild sqlite3. thanks for the point. -- Regards. -- Problem reports: http

Re: sqlite defect

2013-07-19 Thread jojelino
On 2013-07-19 PM 9:08, jojelino wrote: On 2013-07-19 PM 9:02, Corinna Vinschen wrote: There *is* a workaround: export CYGWIN_SQLITE_LOCKING=posix See http://cygwin.com/ml/cygwin-announce/2013-06/msg00014.html It's very good workaround instead of rebuild sqlite3. thanks for the point. Also

Re: sqlite defect

2013-07-19 Thread Corinna Vinschen
On Jul 19 21:36, jojelino wrote: > On 2013-07-19 PM 9:08, jojelino wrote: > >On 2013-07-19 PM 9:02, Corinna Vinschen wrote: > >>There *is* a workaround: > >> > >> export CYGWIN_SQLITE_LOCKING=posix > >> > >>See http://cygwin.com/ml/cygwin-announce/2013-06/msg00014.html > >> > >It's very good work

Re: confirm subscribe to cygwin-developers-dig...@cygwin.com

2013-07-19 Thread Corinna Vinschen
On Jul 19 13:57, Corinna Vinschen wrote: > On Jul 19 13:40, Corinna Vinschen wrote: > > On Jul 18 15:15, Christopher Faylor wrote: > > > [What an odd subject line] > > > On Thu, Jul 18, 2013 at 04:23:32PM +0100, trefor.2.edwa...@bt.com wrote: > > > >I have a very recent version of Cygwin and using

gcc - Is the C function select thread safe??

2013-07-19 Thread trefor.2.edwards
I have a very recent version of Cygwin (see cygcheck.out attached) and an test application (attached) which has been extracted from the SIPP application. What it does in a loop is * Creates a thread * In the thread: Calls "select" to wait for just under 1 second the exit

Re: gcc - Is the C function select thread safe??

2013-07-19 Thread Christopher Faylor
On Fri, Jul 19, 2013 at 03:25:51PM +0100, trefor.2.edwa...@bt.com wrote: >I have a very recent version of Cygwin (see cygcheck.out attached) and >an test application (attached) which has been extracted from the SIPP >application. Try a snapshot: http://cygwin.com/ml/cygwin/2013-07/msg00392.html -

Re: Mingw build problem for TCL

2013-07-19 Thread Earnie Boyd
On Fri, Jul 19, 2013 at 3:55 AM, Corinna Vinschen wrote: > On Jul 19 11:47, Jonathan Kelly wrote: >> Hi, >> >> sorry if this isn't the correct place. I have previously used the >> mingw-* packages to create a Windows compile of tcl8.6.0, but >> currently it doesn't work. It compiles without error a

Re: Mingw build problem for TCL

2013-07-19 Thread Jonathan Kelly
On 19/07/2013 5:55 PM, Corinna Vinschen wrote: On Jul 19 11:47, Jonathan Kelly wrote: Hi, sorry if this isn't the correct place. I have previously used the mingw-* packages to create a Windows compile of tcl8.6.0, but currently it doesn't work. It compiles without error as far as I can see, but