Oliver Lehmann <lehmann(at)ans-netz.de> wrote:
> [...]
> strcpy (pts_name, "/dev/ptyXY");
> for (pos1 = "pqrstuvwxyzPQRST"; *pos1 != '\0'; pos1++)
> {
> pts_name[8] = *pos1;
> for (pos2 = "0123456789abcdef"; *pos2 != '\0'; pos2++)
Das ist genau die Art und Weise, wie man es _nicht_ machen
sollte. Typischer Fall von Fußschuß. :-)
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Der Einsatz von MS-Mailsystemen ist sehr erfolgreich, aber leider vor allem bei der Verbreitung von Viren wie Melissa, Papa oder explore.zip. Dies ist durchaus auch in der Architektur dieser Software begruendet." (unbekannt) To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Wed 23 Apr 2003 - 13:00:23 CEST