git@sv
/
enscript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f0080c8
)
Respect $HOME when searching for ~/.enscriptrc
author
Tim Retout
<diocles@gnu.org>
Sun, 25 Jan 2009 11:17:23 +0000
(11:17 +0000)
committer
Tim Retout
<diocles@gnu.org>
Sun, 25 Jan 2009 11:17:23 +0000
(11:17 +0000)
src/ChangeLog
patch
|
blob
|
history
src/main.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index
5352633
..
4d14ae2
100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2009-01-25 Tim Retout <diocles@gnu.org>
+
+ * main.c (main): Respect $HOME when searching for ~/.enscriptrc
+
2008-01-01 Tim Retout <diocles@gnu.org>
* ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
diff --git
a/src/main.c
b/src/main.c
index
347d300
..
6f296cf
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1127,10
+1127,10
@@
_("library directory.")));
}
/* Site config. */
-
(void)
read_config (SYSCONFDIR, "enscriptsite.cfg");
+ read_config (SYSCONFDIR, "enscriptsite.cfg");
/* Personal config. */
-
(void) read_config (passwd->pw_dir
, ".enscriptrc");
+
read_config (cp
, ".enscriptrc");
/*
* Options.