16 lines
459 B
Text
16 lines
459 B
Text
$NetBSD: patch-ab,v 1.3 2002/06/26 22:51:48 abs Exp $
|
|
|
|
--- ircmd.c.orig Wed Jun 26 21:55:30 2002
|
|
+++ ircmd.c
|
|
@@ -140,10 +140,10 @@
|
|
strcpy(rcname, home);
|
|
rcname[hl] = '/';
|
|
strcpy(rcname + hl+1, IR_USER_IRMANRC);
|
|
- rcname[hl+rl+2] = '\0';
|
|
|
|
rc = fopen(rcname, "r");
|
|
if (!rc) { /* system, eg /etc/irmanrc.conf */
|
|
+ freefile = 0;
|
|
rcname = IR_SYSTEM_IRMANRC;
|
|
rc = fopen(rcname, "r");
|
|
}
|