ed-0.2 patch

Filippo Erik Negroni filippo.negroni at btconnect.com
Fri Jan 12 13:34:23 PST 2001


Patch to make ed-0.2 use mkstemp (3) instead of mktemp (3)

This is an ed script, may be executed by patch as well (it just recognises 
is an ed script and feeds it to ed).
Must be applied to "buf.c" in root source dir.

-----------

209c
   sfd = mkstemp(sfn); // FEN: better than mktemp().
   if ((sfd == -1) || (sfp = fdopen (sfd, "w+")) == NULL) // FEN: fdopen().
..
204a
   int sfd; // FEN: tmp file descritor.
..
203d

--------------


-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list