Re: Difference Between CYGIPC And CYGServer

2007-03-06 Thread neo napster
All, After goining through the code of shm.h and shm.c of Cygipc V1.09 that we are using, we have noticed that in function ShmCtl we have introduced logic to do the following: 1. Detach all PIDs from the passed Shared Memory Id. 2. Detach the PID of the process calling this function from all t

Re: [Testcase] Memory returned by malloc not always zeroed.

2007-03-06 Thread Gary Johnson
On 2007-03-07, Buzz wrote: > Hi, > > On three different cygwin 1.5.24-2 systems, attached testprogram > (compile with ``gcc -o mall-test mall-test.c'') > returns many lines like: > > n1 S13 p12 is 0x81, not 0 > n1 S14 p0 is 0x8c, not 0 > n1 S14 p1 is 0x7f, not 0 > n1 S14 p2 is 0x14, not 0 > n1 S1

[Testcase] Memory returned by malloc not always zeroed.

2007-03-06 Thread Buzz
Hi, On three different cygwin 1.5.24-2 systems, attached testprogram (compile with ``gcc -o mall-test mall-test.c'') returns many lines like: n1 S13 p12 is 0x81, not 0 n1 S14 p0 is 0x8c, not 0 n1 S14 p1 is 0x7f, not 0 n1 S14 p2 is 0x14, not 0 n1 S14 p3 is 0x61, not 0 n1 S14 p4 is 0x8c, not 0 n1 S

Re: CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Christopher Faylor
On Tue, Mar 06, 2007 at 10:06:33PM -0500, Sean Daley wrote: >As part of an application we're developing, we use >CreateFileMapping/MapViewOfFile to be able to share information among >processes. I noticed today that if I try to reference the map >immediately after calling fork() but before calling

CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Sean Daley
As part of an application we're developing, we use CreateFileMapping/MapViewOfFile to be able to share information among processes. I noticed today that if I try to reference the map immediately after calling fork() but before calling exec, that my application will crash. I should be able to res

CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Sean Daley
As part of an application we're developing, we use CreateFileMapping/MapViewOfFile to be able to share information among processes. I noticed today that if I try to reference the map immediately after calling fork() but before calling exec, that my application will crash. I should be able to res

Re: Getting 'Bad file descriptor' error with 1.5.24-2

2007-03-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://cygwin.com/acronyms/#PCYMTWLL - wrapping would be nice > To: 'cygwin AT cygwin DOT com' ^ http://cygwin.com/acronyms/#PCYMTNQREAIYR - raw emails munged http://cygwin.com/acronyms/#TOFU - top-posting reformatted Acc

RE: Getting 'Bad file descriptor' error with 1.5.24-2

2007-03-06 Thread Schuff, Scott
Tried just redirecting output to a file, and the behavior is exactly the same. This did tell me something interesting though ... the 'Bad file descriptor' error was in fact written to the log *before* the hung process (gawk) was killed: /bin/sh: cannot duplicate fd 31 to fd 0: Bad file descrip

Re: Cygwin clamav-0.90.1-1 package

2007-03-06 Thread Reini Urban
O boy, sorry for that. I really need some kind of .lst support in cygport equivalent to gentoo. I'll try to add that when I have more time. 2007/3/6, Jakob Kruse <[EMAIL PROTECTED]>: First of all thank you for maintaining the Cygwin port of ClamAV! Clamd.exe seems to be missing from the 0.90.1-1

Re: GDB problem (under cygwin)

2007-03-06 Thread Igor Peshansky
. Redirecting to the list. On Tue, 6 Mar 2007, Kabal wrote: > Hi, I saw some messages written by you and I would want know if you could > help me with a problem. > I have installed cygwin (devel package) and I have added the Environment > variable in the path

Re: Using UNC paths from a windows command with bash commands

2007-03-06 Thread Larry Hall (Cygwin)
Chris Kimpton wrote: Hi, I am writing a couple of scripts to check users in Active Directory their home/profile directories. Using dsget -hmdir, gives me their home directory, in this format var=\\server\home$\username Using this in a test, like if [ -d $var ] then fails, as it escapes the stu

RE: Getting 'Bad file descriptor' error with 1.5.24-2

2007-03-06 Thread Schuff, Scott
Okay, after a little investigation, I have a little more info. First, I think the 'Bad File Descriptor' errors are actually due to the hung process (sed, gawk, etc) being killed. It's hard to tell because the parent process doesn't flush its output buffer until after that, but I think it's pro

RE: win32 error 998: ERROR_NOACCESS

2007-03-06 Thread Dave Korn
On 06 March 2007 16:01, bmoneill wrote: > I do not have any of the above software installed, but I do use Iolo > anti-virus and firewall. Those were suspect to me as well and I have shut > them down completely (though perhaps the programs were not really > completely shut down) and tried a few

Re: sshd: can't mount samba shares

2007-03-06 Thread David Abrahams
on Mon Mar 05 2007, Corinna Vinschen writes: > I just realize that I mis-read your mail so that I > thought it works on XP32 but doesn't work on XP64. You wrote that > it's the opposite. Then my answer is, "I don't know". It works for > me on XP32, but I never really expected it, as it didn't

Using UNC paths from a windows command with bash commands

2007-03-06 Thread Chris Kimpton
Hi, I am writing a couple of scripts to check users in Active Directory their home/profile directories. Using dsget -hmdir, gives me their home directory, in this format var=\\server\home$\username Using this in a test, like if [ -d $var ] then fails, as it escapes the stuff prefixed by slash.

RE: win32 error 998: ERROR_NOACCESS

2007-03-06 Thread bmoneill
>On 06 March 2007 08:02, bmoneill wrote: >> bash-3.2$ g++ >> 15 [main] bash 956 child_copy: stack write copy failed, >> 0x22C3B0..0x23, done 1624, windows pid 956, Win32 error 998 >> 924 [main] bash 956 fork: child 4052 - pid 4052, exitval 0x103, errno >> >>11 >> bash: fork: Resourc

[ping] SWIG maintainer

2007-03-06 Thread Brian Hassink
A friendly ping to the SWIG package maintainer... The current package is based on SWIG 1.3.29 from 03/06, and the latest is 1.3.31 from 11/06. There were a number of updates in 1.3.30 that may justify rolling an updated package (in my case, I needed some new Lua functionality). Thanks, Brian --

Re: st_birthtime

2007-03-06 Thread Corinna Vinschen
On Mar 6 14:58, Corinna Vinschen wrote: > On Mar 6 06:38, Eric Blake wrote: > > Since Windows find > > can do it, why can't GNU? > > Sure. Well, since it's not much work anyway, I guess I will add > st_birthtime soon. Done. It builds, but it's not tested. I thought that's something you wou

Re: st_birthtime

2007-03-06 Thread Corinna Vinschen
On Mar 6 06:38, Eric Blake wrote: > According to Corinna Vinschen on 3/6/2007 6:18 AM: > > I don't know if it's actually worth the effort, but it would be easily > > supportable in struct stat, given that we have spare room in struct stat > > of exactly the size of a timestruc_t, afaics. But, sti

Re: st_birthtime

2007-03-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 3/6/2007 6:18 AM: >> is it worth >> cygwin 1.7 adding st_birthtime support? > > I don't know if it's actually worth the effort, but it would be easily > supportable in struct stat, given that we have spare room in stru

Re: st_birthtime

2007-03-06 Thread Corinna Vinschen
On Mar 6 06:00, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > There is currently a thread on bug-gnulib about adding GNU tool support > for platforms that support st_birthtime in addition to st_atime, st_mtime, > and st_ctime. Since Windows has a notion of birthtime (in

st_birthtime

2007-03-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is currently a thread on bug-gnulib about adding GNU tool support for platforms that support st_birthtime in addition to st_atime, st_mtime, and st_ctime. Since Windows has a notion of birthtime (in fact, since Windows calls their birthtime attr

RE: Install CORBA

2007-03-06 Thread Dave Korn
On 06 March 2007 09:28, marcos rebelo wrote: > I was ignored. Can someone give me a answer with your opinions? Perhaps nobody round here knows CORBA. You could always start here: http://www.google.com/search?q=corba+cygwin cheers, DaveK -- Can't think of a witty .sigline today.

RE: win32 error 998: ERROR_NOACCESS

2007-03-06 Thread Dave Korn
On 06 March 2007 08:02, bmoneill wrote: > bash-3.2$ g++ > 15 [main] bash 956 child_copy: stack write copy failed, > 0x22C3B0..0x23, done 1624, windows pid 956, Win32 error 998 > 924 [main] bash 956 fork: child 4052 - pid 4052, exitval 0x103, errno 11 > bash: fork: Resource temporaril

Re: Install CORBA

2007-03-06 Thread marcos rebelo
I was ignored. Can someone give me a answer with your opinions? Thanks On 3/3/07, marcos rebelo <[EMAIL PROTECTED]> wrote: Oi people I'm going to start studding CORBA, after more then 8 year. I need to know the better libraries that I can use in Cygwin to use. Note: If you have some recommend

Re: Difference Between CYGIPC And CYGServer

2007-03-06 Thread Corinna Vinschen
On Mar 6 10:46, neo napster wrote: > When compiling we are getting the following error: > > apitest.c:28:31: ipc.h: No such file or directory > apitest.c:29:31: shm.h: No such file or directory These files are under sys, so you have to include sys/ipc.h, sys/shm.h, etc., as required by SUSv3.

[ANNOUNCEMENT] Updated: clamav-0.90.1-1

2007-03-06 Thread Reini Urban
The cygwin clamav packages (Clam AntiVirus - GPL anti-virus toolkit) has been updated to 0.90.1-1. A minor number but a major dll change. We switched now to libclamav2. devel users: The API changed a lot with 0.90 About: Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of this s

PAM

2007-03-06 Thread Wynfield Henman
Are there any Plugable Authentication Module (PAM) libraries ported to cygwin? Or is there an source that will build readily in the cygwin environment? Thanks, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation