Renumbering.

This commit is contained in:
angelos 2000-04-16 00:59:08 +00:00
parent 2d7d454a43
commit 001ab1efcb

View File

@ -1,9 +1,16 @@
--- XTar.ad.orig Mon Jul 17 08:00:59 1995 --- common/tmpfile.c.orig Tue May 9 04:06:46 1995
+++ XTar.ad Thu Oct 21 17:18:02 1999 +++ common/tmpfile.c Thu Oct 21 20:43:13 1999
@@ -1,5 +1,5 @@ @@ -90,7 +90,12 @@
!!!! Help document !!!! char *tmpfile_create()
-XTar*helpDoc: /usr/local/lib/X11/xtar/xtar.doc {
+XTar*helpDoc: /usr/X11R6/lib/X11/xtar/xtar.doc TMP_FILE *ptr, *tf;
- char *filename = strdup(tmpnam(NULL));
+ char xxx[40];
+ char *filename;
+
+ sprintf(xxx, "/tmp/tmpf.XXXXXXXX");
+ close(mkstemp(xxx));
+ filename = strdup(xxx);
!!! Set this to true if you want push buttons !!! if(filename == NULL)
XTar*showPB: False return(NULL);