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.


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


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