From 1420ecfec719ed058b8eae0a9e4199f568a270d1 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 16 Nov 2002 22:28:08 +0000 Subject: Maintainer update to version 3.17.0 PR: ports/45178 Submitted by: Joshua Goodall --- net/spread/files/patch-auth-pword.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/spread/files/patch-auth-pword.c (limited to 'net/spread/files/patch-auth-pword.c') diff --git a/net/spread/files/patch-auth-pword.c b/net/spread/files/patch-auth-pword.c new file mode 100644 index 000000000000..09a8e44cf372 --- /dev/null +++ b/net/spread/files/patch-auth-pword.c @@ -0,0 +1,13 @@ +--- auth-pword.c Sun Sep 22 12:56:52 2002 ++++ auth-pword.c Wed Nov 6 02:40:23 2002 +@@ -122,8 +122,8 @@ + if (NULL != (fp = fopen("./spread.access_pword", "r")) ) + Alarm( PRINT, "pword_init: using file: ./spread.access_pword\n"); + if (fp == NULL) +- if (NULL != (fp = fopen("/etc/spread.access_pword", "r")) ) +- Alarm( PRINT, "pword_init: using file: /etc/spread.access_pword\n"); ++ if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_pword", "r")) ) ++ Alarm( PRINT, "pword_init: using file: " SPREAD_ETCDIR "/spread.access_pword\n"); + if (fp == NULL) + Alarm( EXIT, "pword_init: error opening config file %s in any of the standard locations. Please make sure the file exists\n", file_name); + -- cgit v1.2.3