Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-17 Thread Takashi Yano via Cygwin
On Fri, 17 Feb 2023 12:56:06 +0800 Yeo Kai Wei wrote: > Hi All, > > Thanks for the help. > > It works now. > > So, the 2 things that were required > > 1. Adding the '/' in front of the semaphore name so that Cygwin can > recognise it > > #define SemaphoreName "/mysemaphore" > > 2. Changing t

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Yeo Kai Wei via Cygwin
Hi All, Thanks for the help. It works now. So, the 2 things that were required 1. Adding the '/' in front of the semaphore name so that Cygwin can recognise it #define SemaphoreName "/mysemaphore" 2. Changing the if check from if(semptr == (void*) -1) to if(semptr == (sem_t*) 0) Thank

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Corinna Vinschen via Cygwin
Hi Kai, Apart from what Takashi already wrote, there's another bug in this code: On Feb 16 12:04, Yeo Kai Wei via Cygwin wrote: > #define ByteSize 512 > #define BackingFile "/shMemEx" > #define AccessPerms 0644 > #define SemaphoreName "mysemaphore" What Takas

Re: [QUERY] Help With Semaphore Error on Windows : Cygwin

2023-02-16 Thread Takashi Yano via Cygwin
On Thu, 16 Feb 2023 12:04:01 +0800 Yeo Kai Wei wrote: > Hi All, > > Could I request for some help on some code? > > I ran into an error with semaphores with some book code using Cygwin on > Windows. > > The code will throw an error with sem_post(). > > I compiled it with gcc -o memwriter memwr

Re: Query about "libGL error: Screen is not Windows-DRI capable"

2017-02-20 Thread Jon Turney
On 18/02/2017 21:59, Eliot Moss wrote: Dear friends -- I get the message above when I start cygwin emacs-X11 32-bit while running Cygwin-X. First of all, should I care? And if No. This message should probably be downgraded from an error. I should, what can I do about it? Does this have to

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Tatsuro MATSUOKA
> From: Marco Atzeri > To: cygwin> Cc: > Date: 2016/4/10, Sun 16:12 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin > > Hi Tatsuro, > May be was better to not reply to a different thread ? > I am pending the other thread and I want to discuss

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Tatsuro MATSUOKA
> From: Hans-Bernhard Bröker > To: cygwin@cygwin.com > Cc: > Date: 2016/4/10, Sun 16:10 > Subject: Re: Query of type of memcpy (and sys_errlist) on Cygwin > > Am 10.04.2016 um 05:14 schrieb Tatsuro MATSUOKA: >>  Hello >>  The topic was discussed on gnuplot m

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Marco Atzeri
Hi Tatsuro, May be was better to not reply to a different thread ? On 10/04/2016 05:14, Tatsuro MATSUOKA wrote: Hello The topic was discussed on gnuplot mailing list. http://gnuplot.10905.n7.nabble.com/stdfn-h-error-conflicting-types-for-memcopy-and-sys-errlist-on-Cygwin-build-td20061.html Frorm

Re: Query of type of memcpy (and sys_errlist) on Cygwin

2016-04-10 Thread Hans-Bernhard Bröker
Am 10.04.2016 um 05:14 schrieb Tatsuro MATSUOKA: Hello The topic was discussed on gnuplot mailing list. http://gnuplot.10905.n7.nabble.com/stdfn-h-error-conflicting-types-for-memcopy-and-sys-errlist-on-Cygwin-build-td20061.html Frorm discussion there (the topic is now pending.) , I decided ask he

Re: Query about how to get 'full' Cygwin/unix support

2012-03-28 Thread Jeremy Bopp
On 03/28/2012 03:07 PM, AngusC wrote: > > Hello > > I am using cygwin and have copied the core cygwin files to a folder called > binarytools on my Windows PC. This folder is first item in path env > variable. > > When I run make it has commands to do a mkdir -p > > But mkdir -p myfolder creat

Re: Query about how to get 'full' Cygwin/unix support

2012-03-28 Thread Eric Blake
On 03/28/2012 02:07 PM, AngusC wrote: > > Hello > > I am using cygwin and have copied the core cygwin files to a folder called > binarytools on my Windows PC. This folder is first item in path env > variable. > > When I run make it has commands to do a mkdir -p > > But mkdir -p myfolder creat

Re: query of installed apps on remote Winows

2006-07-16 Thread Christopher Faylor
On Sun, Jul 16, 2006 at 12:51:38PM -1000, Richard Foulk wrote: >Dave <[EMAIL PROTECTED]> wrote: > >> Richard Foulk wrote: >> > Anyone know how the control-panel->Add/Remove-Programs facility works? >> >> Not particularly cygwin specific, and comprehensively covered at >> Microsofts site. Anyway, h

Re: query of installed apps on remote Winows

2006-07-16 Thread Richard Foulk
Dave <[EMAIL PROTECTED]> wrote: > Richard Foulk wrote: > > Anyone know how the control-panel->Add/Remove-Programs facility works? > > Not particularly cygwin specific, and comprehensively covered at > Microsofts site. Anyway, here's some basic info. > > Each program needing an uninstall item has

Re: query of installed apps on remote Winows

2006-07-16 Thread Christopher Faylor
On Sun, Jul 16, 2006 at 12:00:49PM +0100, Dave wrote: >>Is this something that might be supported by existing cygwin tools? > >Personally, I'd leave installing/uninstalling of non-cygwin apps to >windows. Can you imagine the queries coming to this list? > - I couldn't uninstall notepad! > - Execut

Re: query of installed apps on remote Winows

2006-07-16 Thread Dave
Richard Foulk wrote: Anyone know how the control-panel->Add/Remove-Programs facility works? Not particularly cygwin specific, and comprehensively covered at Microsofts site. Anyway, here's some basic info. Each program needing an uninstall item has a key in: /HKLM/Software/Microsoft/Windows/

RE: query on updating changes

2006-01-19 Thread Dave Korn
KevinGPO wrote: > What tools come with Cygwin that I can use to find differences between an > old C project and an updated branched version of it? "diff". cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple P

Re: Query: issue with cygwin-curl 7.15.0 - cannot close some connections

2005-11-28 Thread Corinna Vinschen
On Nov 28 04:04, Brian Dessent wrote: > The reason that it apparently did not realize that the connection had > been terminated was that the Cygwin poll() was returning 1 with the > POLLHUP bit set in 'revents'. But curl was not aware of this bit and > only looked for POLLIN, so it got confused,

Re: Query: issue with cygwin-curl 7.15.0 - cannot close some connections

2005-11-28 Thread Brian Dessent
Soh Kam Yung wrote: > Brian, Please send all questions about using the Cygwin curl packages to the cygwin (at) cygwin.com mailing list, which I follow. Please do not email me personally. > I have been using curl under cygwin and noticed an issue with closing > of connections with some websites

Re: Query

2005-08-02 Thread Christopher Faylor
On Tue, Aug 02, 2005 at 02:18:41PM +0530, Sundara Pandian wrote: > Hello Sir > > can u guide me with a tutorial for using Cygwin. > > i need to compile / execute the .c files in the cygwin environment. > > > > Thanks and regards Please check out the project web page for links to available

Re: Query regarding Cygwin make/Gnu Make

2003-12-04 Thread Brian Ford
On Thu, 4 Dec 2003, Rajagopalan, Karthik wrote: > I found today a weird working difference between Cygwin Make against Gnu > Make. Let me explain the situation I faced. > Cygwin make *is* GNU make. > I have following piece of code as "test" target. Here $(EXE) takes .exe for > Windows and blank

Re: Query regarding Cygwin make/Gnu Make

2003-12-04 Thread Baurjan Ismagulov
Hello, Karthik. On Thu, Dec 04, 2003 at 03:04:28PM +0530, Rajagopalan, Karthik wrote: > test$(EXE) return -1 back because of encountering a error in code test.c. I'm not sure what values are meaningful for make and how -1 is interpreted: the argument of exit(3) seems to be (signed int), but bash

Re: Query related to PostgreSQL : Srinivas : 12th Aug 2003

2003-08-12 Thread Jason Tishler
Srinivas, Please post instead of sending private email. On Tue, Aug 12, 2003 at 01:48:26PM +0530, Srinivas wrote: > Hi Jayson, s/Jayson/Jason/ > Can you plz give the link for downloading the latest version of the > PostgreSQL, Cygwin PostgreSQL is installable via Cygwin's setup.exe: http:

RE: Query regarding application error..

2003-07-16 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Rajagopalan, Karthik > Hai, >I am getting following application error when I try to run the exe from > Cygwin. > > "The application failed to initialize properly()x005).Click on Ok to > terminate the application." > > Is it so

Re: query regarding use of Xwin -multiwindow

2003-06-03 Thread Igor Pechtchanski
On Mon, 2 Jun 2003, John Vincent wrote: > Hi, > > I've just discovered the -multiwindow option of the cygwin x-server and I > think it's great, as I can now run an xterm on a linux box and display it on > my windows xp machine. One problem, though, I don't seem able to > cut-and-paste btween the x

RE: [list] Re: query

2002-12-15 Thread Chris January
> >hi > > > > i am new to cygwin enviornment i just downloaded it > >yesterday . i have an application written in linux > >downloaded from internet .it is a tar file . i want to > >run it on windows 2000 can i do it using cygwin . > > > > No but if you have the source you can build the applicatio

Re: query

2002-12-14 Thread Larry Hall (RFK Partners, Inc)
At 01:29 AM 12/14/2002, mohit batra wrote: >hi > > i am new to cygwin enviornment i just downloaded it >yesterday . i have an application written in linux >downloaded from internet .it is a tar file . i want to >run it on windows 2000 can i do it using cygwin . No but if you have the source

RE: query

2002-12-13 Thread Robert McNulty Junior
As a Linux program, No. Get the source tar and compile it using GCC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of mohit batra Sent: Saturday, December 14, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: query hi i am new to cygwin enviornment i just d