Page MenuHomeFreeBSD

D17575.id49193.diff
No OneTemporary

D17575.id49193.diff

Index: usr.sbin/pw/pw.h
===================================================================
--- usr.sbin/pw/pw.h
+++ usr.sbin/pw/pw.h
@@ -65,7 +65,6 @@
#define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO)
#define _PW_CONF "pw.conf"
-#define _PATH_PW_CONF "/etc/pw.conf"
#define _UC_MAXLINE 1024
#define _UC_MAXSHELLS 32
Index: usr.sbin/pw/pw_conf.c
===================================================================
--- usr.sbin/pw/pw_conf.c
+++ usr.sbin/pw/pw_conf.c
@@ -255,9 +255,6 @@
buf = NULL;
linecap = 0;
- if (file == NULL)
- file = _PATH_PW_CONF;
-
if ((fp = fopen(file, "r")) == NULL)
return (&config);

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 18, 9:49 PM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28857022
Default Alt Text
D17575.id49193.diff (635 B)

Event Timeline