public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] <paths.h> additions
@ 2011-08-19 20:13 Yaakov (Cygwin/X)
  2011-08-20  1:07 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-08-19 20:13 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

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


[-- Attachment #2: paths_h.patch --]
[-- Type: text/x-patch, Size: 863 bytes --]

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"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] <paths.h> additions
  2011-08-19 20:13 [PATCH] <paths.h> additions Yaakov (Cygwin/X)
@ 2011-08-20  1:07 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2011-08-20  1:07 UTC (permalink / raw)
  To: cygwin-patches

On Fri, Aug 19, 2011 at 03:12:58PM -0500, Yaakov (Cygwin/X) wrote:
>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.

Looks good.  Thanks.

Please check in.

cgf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-20  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19 20:13 [PATCH] <paths.h> additions Yaakov (Cygwin/X)
2011-08-20  1:07 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).