openbsd-ports/graphics/xv/patches/patch-al
1998-04-26 00:24:28 +00:00

20 lines
617 B
Plaintext

*** xvpds.c.orig Sat Apr 25 20:16:57 1998
--- xvpds.c Sat Apr 25 20:17:09 1998
***************
*** 689,695 ****
#ifndef VMS
sprintf(pdsuncompfname,"%s/xvhuffXXXXXX", tmpdir);
! mktemp(pdsuncompfname);
sprintf(scanbuff,"%s %s - 4 >%s",PDSUNCOMP,fname,pdsuncompfname);
#else
strcpy(pdsuncompfname,"sys$disk:[]xvhuffXXXXXX");
--- 689,695 ----
#ifndef VMS
sprintf(pdsuncompfname,"%s/xvhuffXXXXXX", tmpdir);
! close(mkstemp(pdsuncompfname));
sprintf(scanbuff,"%s %s - 4 >%s",PDSUNCOMP,fname,pdsuncompfname);
#else
strcpy(pdsuncompfname,"sys$disk:[]xvhuffXXXXXX");