Article View: comp.os.msdos.djgpp
Article #4is there something wrong with this?...
From: informix
Date: Fri, 29 Dec 1995 06:20
Date: Fri, 29 Dec 1995 06:20
17 lines
774 bytes
774 bytes
...
while((fgets(temp,120,fp))!=NULL) {
sscanf(temp,"%s:%s:%*s:%*s:%*s:%*s:%*s",sent[x].name,
sent[x].passwd);
++x;
}
...
this was meant to read a unix password file (/etc/passwd) and
extract the username and encrypted password field...
can someone tell me why this is not working as planned?... it worked
on a shitty compiler... i recently installed djgpp...
should i be doing to a better way?... is it portable?...
Ron!
Technical Details
Message-ID:
<4c01cb$nu2@veenet.value.net>Path:
arc1-ca.pugleaf.net!veenet.value.net!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!veenet.value.net!not-for-mail From: oracle@veenet.value.net (informix) Newsgroups: comp.os.msdos.djgpp,comp.lang.c Subject: is there something wrong with this?... Date: 28 Dec 1995 22:20:59 -0800 Organization: Pro Hemp Initiative Message-ID: <4c01cb$nu2@veenet.value.net> NNTP-Posting-Host: value.net