[BACK]Return to porting.html CVS log [TXT][DIR] Up to [local] / www

Diff for /www/Attic/porting.html between version 1.21 and 1.22

version 1.21, 1999/03/13 18:15:43 version 1.22, 1999/04/09 19:41:01
Line 109 
Line 109 
        instant you open it, your password file is hosed. Yes, even with         instant you open it, your password file is hosed. Yes, even with
        an <code>unlink</code> right before. You only narrow the window         an <code>unlink</code> right before. You only narrow the window
        of opportunity.  Use <code>open</code> with         of opportunity.  Use <code>open</code> with
        <code>O_CREAT|O_EXCLUDE</code> and <code>fdopen</code> instead.         <code>O_CREAT|O_EXCL</code> and <code>fdopen</code> instead.
   
    <li>Another very common problem is the <code>mktemp</code>     <li>Another very common problem is the <code>mktemp</code>
        function. Heed the warnings of the bsd linker about its uses.         function. Heed the warnings of the bsd linker about its uses.

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22