v18i058: mush - Mail User's Shell, Part01/22
Barton E. Schaefer
schaefer at ogicse.ogi.edu
Thu Apr 25 14:31:32 AEST 1991
In article <1991Apr24.220750.15603 at robobar.co.uk> ronald at robobar.co.uk (Ronald S H Khoo) writes:
} Should there not be a
}
} realname = buf;
}
} at line 61 of init.c ? It seems to lose my name without it :-(
No, but line 75 should read (realname && *buf), not (realname && *realname).
} Also, regarding line 411 in hdrs.c,
}
} > if (show_to && strncmp(p, login, strlen(login)))
My copy says !strncmp(p, login, strlen(login)) ....
} question: what is the strncmp for?
The original definition of the TO: processing was just to show you the
recipient of messages you sent from the local machine, not messages you
may have sent to yourself from elsewhere.
} Would it do any harm to delete the strncmp ?
No.
--
Bart Schaefer schaefer at zipcode.com
Z-Code Software Corporation schaefer at cse.ogi.edu
More information about the Comp.sources.bugs
mailing list