projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added local()
[unix-history]
/
usr
/
src
/
usr.bin
/
mail
/
pathnames.h
diff --git
a/usr/src/usr.bin/mail/pathnames.h
b/usr/src/usr.bin/mail/pathnames.h
index
a595dd1
..
84df176
100644
(file)
--- a/
usr/src/usr.bin/mail/pathnames.h
+++ b/
usr/src/usr.bin/mail/pathnames.h
@@
-5,12
+5,18
@@
*/
/*
*/
/*
- * Sccs Id = "@(#)pathnames.h 2.
2
%G%";
+ * Sccs Id = "@(#)pathnames.h 2.
4
%G%";
*/
*/
-#define LOCAL 'j' /* Local machine id */
+#define GETHOST /* System has gethostname syscall */
+#ifdef GETHOST
+#define LOCAL EMPTYID /* Dynamically determined local host */
+#else
+#define LOCAL 'j' /* Local host id */
+#endif GETHOST
+
#define MAIL "/bin/mail" /* Name of mail sender */
#define MAIL "/bin/mail" /* Name of mail sender */
-#define
DELIVERMAIL "/etc/deliver
mail"
+#define
SENDMAIL "/usr/lib/send
mail"
/* Name of classy mail deliverer */
#define EDITOR "/usr/ucb/ex" /* Name of text editor */
#define VISUAL "/usr/ucb/vi" /* Name of display editor */
/* Name of classy mail deliverer */
#define EDITOR "/usr/ucb/ex" /* Name of text editor */
#define VISUAL "/usr/ucb/vi" /* Name of display editor */