summaryrefslogtreecommitdiff
path: root/comms/ifcico-cm/patches/patch-ax
blob: 9c17d59129ccd6283addff01c8938aae40219aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ax,v 1.1 2001/02/24 20:43:56 tv Exp $

--- ifcico/nodebld.c.orig	Sat Feb 24 15:39:31 2001
+++ ifcico/nodebld.c	Sat Feb 24 15:40:30 2001
@@ -79,6 +79,7 @@
   nm = xstrcat(nm, ".dir");
 #endif
 
+#ifndef NEWDB
   if ((ifp = fopen(nm, "w")))
     fclose(ifp);
   else
@@ -86,7 +87,6 @@
     logerr("$cannot create new %s", S(nm));
     return 1;
   }
-#ifndef NEWDB
   strcpy(nm+strlen(nm)-3,"pag");
   if ((ifp=fopen(nm,"w"))) fclose(ifp);
   else