SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
misc/xless/patches/patch-callbacks_c
Normal file
13
misc/xless/patches/patch-callbacks_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- callbacks.c.orig Fri Jul 29 04:29:23 1994
|
||||
+++ callbacks.c Fri Jul 26 21:35:26 2002
|
||||
@@ -454,8 +454,8 @@ XtPointer callData;
|
||||
if (wi->file == NULL) {
|
||||
|
||||
/* create a temporary file */
|
||||
- printfile = tmpnam(0);
|
||||
- file = fopen(printfile, "w");
|
||||
+ printfile = strdup("/tmp/ab.XXXXXXXX");
|
||||
+ file = fdopen(mkstemp(printfile), "w");
|
||||
|
||||
#ifdef WIMPY_STDIO
|
||||
/* write stdin (line by line) to temporary file */
|
Loading…
Add table
Add a link
Reference in a new issue