This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] define _PATH_VARTMP
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-patches <cygwin-patches at cygwin dot com>
- Date: Tue, 02 Nov 2010 12:06:22 -0500
- Subject: [PATCH] define _PATH_VARTMP
Another glibc-ish <paths.h> define. Patch attached.
Yaakov
2010-11-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* include/paths.h (_PATH_VARTMP): Define.
Index: include/paths.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/paths.h,v
retrieving revision 1.5
diff -u -r1.5 paths.h
--- include/paths.h 2 Feb 2010 11:17:54 -0000 1.5
+++ include/paths.h 2 Nov 2010 16:16:55 -0000
@@ -26,6 +26,7 @@
#define _PATH_TTY "/dev/tty"
#define _PATH_UTMP "/var/run/utmp"
#define _PATH_VARRUN "/var/run/"
+#define _PATH_VARTMP "/var/tmp/"
#define _PATH_VI "/bin/vi"
#define _PATH_WTMP "/var/log/wtmp"