Annotation of /trunk/xorg-old/patches-6.8.2-r10/0350_all_4.3.0-xbiff-FHS.patch
Parent Directory | Revision Log
Revision 167 -
(hide annotations)
(download)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 796 byte(s)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 796 byte(s)
-import
1 | niro | 167 | Patch author: Mike A. Harris <mharris@redhat.com> |
2 | Date: April 19, 2003 | ||
3 | Purpose: File Heirarchy Standard 2.2 fixes for xbiff | ||
4 | Reference: http://www.pathname.com/fhs/2.2/fhs-5.11.html | ||
5 | Status: Not submitted upstream yet | ||
6 | |||
7 | --- xc/programs/xbiff/MailboxP.h.xbiff-file-heirarchy-standard 2003-04-19 08:13:53.000000000 -0400 | ||
8 | +++ xc/programs/xbiff/MailboxP.h 2003-04-19 08:33:36.000000000 -0400 | ||
9 | @@ -38,15 +38,13 @@ | ||
10 | |||
11 | #if defined(SYSV) | ||
12 | #define MAILBOX_DIRECTORY "/usr/mail" | ||
13 | -#elif defined(SVR4) | ||
14 | +#elif defined(SVR4) || defined(__linux__) | ||
15 | #define MAILBOX_DIRECTORY "/var/mail" | ||
16 | #elif defined(CSRG_BASED) | ||
17 | #include <paths.h> | ||
18 | #ifdef _PATH_MAILDIR | ||
19 | #define MAILBOX_DIRECTORY _PATH_MAILDIR | ||
20 | #endif | ||
21 | -#elif defined(__linux__) | ||
22 | -#define MAILBOX_DIRECTORY "/var/spool/mail" | ||
23 | #endif | ||
24 | |||
25 | #ifndef MAILBOX_DIRECTORY |