This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] <paths.h> additions
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-patches <cygwin-patches at cygwin dot com>
- Date: Fri, 19 Aug 2011 15:12:58 -0500
- Subject: [PATCH] <paths.h> additions
This patch adds _PATH_MAILDIR and _PATH_SHELLS to <paths.h>, as found on
Linux and *BSD. This will save me a patch to kdeadmin.
Yaakov
2011-08-19 Yaakov Selkowitz <yselkowitz@...>
* include/paths.h (_PATH_MAILDIR): Define.
(_PATH_SHELLS): Define.
Index: include/paths.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/paths.h,v
retrieving revision 1.6
diff -u -p -r1.6 paths.h
--- include/paths.h 2 Nov 2010 17:38:36 -0000 1.6
+++ include/paths.h 19 Aug 2011 20:08:11 -0000
@@ -17,10 +17,12 @@ details. */
#define _PATH_DEV "/dev/"
#define _PATH_DEVNULL "/dev/null"
#define _PATH_LASTLOG "/var/log/lastlog"
+#define _PATH_MAILDIR "/var/spool/mail/"
#define _PATH_MAN "/usr/share/man"
#define _PATH_MEM "/dev/mem"
#define _PATH_MNTTAB "/etc/fstab"
#define _PATH_MOUNTED "/etc/mtab"
+#define _PATH_SHELLS "/etc/shells"
#define _PATH_STDPATH "/bin:/usr/sbin:/sbin"
#define _PATH_TMP "/tmp/"
#define _PATH_TTY "/dev/tty"