Re: struct passwd problem : running on XP

2007-01-16 Thread Corinna Vinschen
On Jan 16 11:37, Dave Korn wrote: > On 16 January 2007 10:29, Corinna Vinschen wrote: > > Your header files seem to be broken > > Corinna, you missed the mno-cygwin flag I think? Indeed, sorry. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Projec

RE: struct passwd problem : running on XP

2007-01-16 Thread Dave Korn
On 16 January 2007 12:53, DEMARCHE wrote: > Thank you all for your help and support. > > To Corinna : > well, my program was designed for being compiled even on Unix and Windows > platform. > As far as I understand, /etc/passwd file may be designed differently > depending on the system. On win

RE: struct passwd problem : running on XP

2007-01-16 Thread Dave Korn
On 16 January 2007 10:29, Corinna Vinschen wrote: > On Jan 16 08:53, DEMARCHE wrote: >> I wanted to have my program independant of >> the Cygwin environment using -mno- cygwin option. "gcc -mno-cygwin -c >> mqutils.c ". My aim was to deploy my program onto Windows Operating system >> wihtout cygwi

Re: struct passwd problem : running on XP

2007-01-16 Thread Corinna Vinschen
On Jan 16 08:53, DEMARCHE wrote: > Here is the history ; Gcc compiled correctly my program with default options. > "gcc -c mqutils.c ". > I wanted to have my program independant of the Cygwin environment using -mno- > cygwin option. "gcc -mno-cygwin -c mqutils.c ". My aim was to deploy my > progra

RE: struct passwd problem : running on XP

2007-01-15 Thread Dave Korn
On 15 January 2007 17:12, DEMARCHE wrote: > It seems like the /etc/passwd file struct is not compliant with the C struct > password ( as defined in pwd.h ). > May be I'm wrong, but the number of items doesn't correspond to each other. > > May be I'm worng but I think that the gcc compiler is not

Re: struct passwd problem : running on XP

2007-01-15 Thread Larry Hall (Cygwin)
DEMARCHE wrote: Hi All, I'm runnning Cygwin 1.5.23 on XP and my C program refers to pwd.h library. It seems like the /etc/passwd file struct is not compliant with the C struct password ( as defined in pwd.h ). Indeed, users are defined as : - - - - - - - - - - - - - - - - - - - - - - - - - -