blob: ceda934bfe265f467a28a9f7457f351b049f6eab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ac,v 1.3 2006/07/05 21:39:42 wiz Exp $
--- programs/irr_rpsl_check/syntax_attrs.c.orig 2004-08-26 14:04:09.000000000 +0000
+++ programs/irr_rpsl_check/syntax_attrs.c
@@ -19,7 +19,7 @@
extern char *attr_name[];
extern regex_t re[];
extern char *countries[];
-static const char tmpfntmpl[] = "/var/tmp/irrsyntax.XXXXXX";
+static const char localtmpfntmpl[] = "/var/tmp/irrsyntax.XXXXXX";
int xx_set_syntax (char *target, char *s) {
char *p;
@@ -713,7 +713,7 @@ char *hexid_check (parse_info_t *o) {
}
/* create a file and put the key certificate into it */
- strcpy (pgpinfn, tmpfntmpl);
+ strcpy (pgpinfn, localtmpfntmpl);
fd = mkstemp (pgpinfn);
if ((pgpin = fdopen (fd, "w")) == NULL) {
error_msg_queue (o,
|