> It looks like _somebody_ needs to remember that sscanf() returns success on
> success, unlike strcasecmp().
> /* try it as a DOS listing */
> if (n_tokens > 3 && p->name == NULL &&
> ! sscanf(tokens[0], "%[-0-9]", sbuf) && /* 04-05-70 */
> ! sscanf(tokens[1], "%[0-9:apm]", sbuf)) { /* 09:33pm */
> if (!strcasecmp(tokens[2], "<dir>")) {
> p->type = 'd';
> sprintf(sbuf, "%s %s", tokens[0], tokens[1]);
As i see this piece of code. Wouldn't it be better to replace "<" through "<"
and ">" through ">" to avoid future HTML Tag "misunderstandings" ?
Flo
-- Florian Lohoff mailto:flo@mini.gt.owl.de Phone:+49-5241-340796 Privates Internet Ostwestfalen-Lippe, Guetersloh - http://www.gt.owl.deReceived on Thu Aug 01 1996 - 11:28:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:45 MST