pkgsrc-wip/c-news/patches/patch-ae

14 lines
350 B
Text
Raw Normal View History

$NetBSD: patch-ae,v 1.1 2003/09/30 15:39:59 hfath Exp $
--- readnews/readnews.c.orig Fri Apr 28 03:12:21 1995
+++ readnews/readnews.c
@@ -840,7 +840,7 @@
if (s == NULL)
return;
(void) strcpy(tmpf, "/tmp/rfXXXXXX");
- (void) mktemp(tmpf);
+ (void) mkstemp(tmpf);
fo = fopen(tmpf, "w");
if (fo == NULL)
error("can't create `%s'", tmpf);