[hackers] [9base] renamed ed's internal mktemp || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Sat, 29 May 2010 11:05:58 +0000 (UTC)

changeset: 73:7a786b589c5e
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sat May 29 11:58:52 2010 +0100
files: ed/ed.c
description:
renamed ed's internal mktemp

diff -r 48ca485248ce -r 7a786b589c5e ed/ed.c
--- a/ed/ed.c Fri May 28 11:32:00 2010 +0100
+++ b/ed/ed.c Sat May 29 11:58:52 2010 +0100
@@ -121,6 +121,7 @@
 void setwide(void);
 void squeeze(int);
 void substitute(int);
+char* _mktemp(char *as);
 
 Rune La[] = { 'a', 0 };
 Rune Lr[] = { 'r', 0 };
@@ -161,7 +162,7 @@
                 globp = Lr;
         }
         zero = malloc((nlall+5)*sizeof(int*));
- tfname = mktemp(tmp);
+ tfname = _mktemp(tmp);
         init();
         setjmp(savej);
         commands();
@@ -1583,7 +1584,7 @@
 }
 
 char*
-mktemp(char *as)
+_mktemp(char *as)
 {
         char *s;
         unsigned pid;
Received on Sat May 29 2010 - 11:05:58 UTC

This archive was generated by hypermail 2.2.0 : Sat May 29 2010 - 11:12:04 UTC