source: trunk/dports/editors/jove/files/patch-rec.c.diff @ 2311

Last change on this file since 2311 was 2311, checked in by michaelm, 17 years ago

new port: Jove.
Bug: 387
Submitted by: vivek@…
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 372 bytes
  • rec.c

    old new  
    5555#endif
    5656                );
    5757        recfname = copystr(buf);
     58#ifndef NO_MKSTEMP
     59        rec_fd = mkstemp(recfname);
     60#else
    5861        recfname = mktemp(recfname);
    5962        rec_fd = creat(recfname, 0644);
     63#endif
    6064        if (rec_fd == -1) {
    6165                complain("Cannot create \"%s\"; recovery disabled.", recfname);
    6266                /*NOTREACHED*/
Note: See TracBrowser for help on using the repository browser.