=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/porting.html,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** www/Attic/porting.html 1999/03/13 18:15:43 1.21 --- www/Attic/porting.html 1999/04/09 19:41:01 1.22 *************** *** 109,115 **** instant you open it, your password file is hosed. Yes, even with an unlink right before. You only narrow the window of opportunity. Use open with ! O_CREAT|O_EXCLUDE and fdopen instead.
  • Another very common problem is the mktemp function. Heed the warnings of the bsd linker about its uses. --- 109,115 ---- instant you open it, your password file is hosed. Yes, even with an unlink right before. You only narrow the window of opportunity. Use open with ! O_CREAT|O_EXCL and fdopen instead.
  • Another very common problem is the mktemp function. Heed the warnings of the bsd linker about its uses. *************** *** 348,353 ****
    OpenBSD www@openbsd.org !
    $OpenBSD: porting.html,v 1.21 1999/03/13 18:15:43 rohee Exp $ --- 348,353 ----
    OpenBSD www@openbsd.org !
    $OpenBSD: porting.html,v 1.22 1999/04/09 19:41:01 rohee Exp $