From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3528 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] remove cruft from paths.h Date: Mon, 01 Jul 2013 13:51:43 +0200 Message-ID: <51D16D4F.2050704@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090000000508000100010209" X-Trace: ger.gmane.org 1372679693 17557 80.91.229.3 (1 Jul 2013 11:54:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 11:54:53 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3532-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 01 13:54:55 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Utch4-00042p-Ka for gllmg-musl@plane.gmane.org; Mon, 01 Jul 2013 13:54:54 +0200 Original-Received: (qmail 30148 invoked by uid 550); 1 Jul 2013 11:54:53 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 30140 invoked from network); 1 Jul 2013 11:54:53 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 Xref: news.gmane.org gmane.linux.lib.musl.general:3528 Archived-At: This is a multi-part message in MIME format. --------------090000000508000100010209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit we already discussed this in IRC i checked for each of the macros in debian codesearch, AND in the output of gregors pkgsrc search: http://sprunge.us/CKIQ *none* of them is used in *any* package unconditionally. that means if a package makes use of it, it has a backup def. --------------090000000508000100010209 Content-Type: text/x-patch; name="musl-paths.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="musl-paths.patch" diff --git a/include/paths.h b/include/paths.h index e0d1fff..12eb9e8 100644 --- a/include/paths.h +++ b/include/paths.h @@ -6,27 +6,18 @@ #define _PATH_BSHELL "/bin/sh" #define _PATH_CONSOLE "/dev/console" -#define _PATH_CSHELL "/bin/csh" -#define _PATH_DEVDB "/var/run/dev.db" #define _PATH_DEVNULL "/dev/null" -#define _PATH_DRUM "/dev/drum" -#define _PATH_GSHADOW "/etc/gshadow" -#define _PATH_KLOG "/proc/kmsg" #define _PATH_KMEM "/dev/kmem" #define _PATH_LASTLOG "/var/log/lastlog" #define _PATH_MAILDIR "/var/mail" #define _PATH_MAN "/usr/share/man" -#define _PATH_MEM "/dev/mem" #define _PATH_MNTTAB "/etc/fstab" #define _PATH_MOUNTED "/etc/mtab" #define _PATH_NOLOGIN "/etc/nologin" -#define _PATH_PRESERVE "/var/lib" -#define _PATH_RWHODIR "/var/spool/rwho" #define _PATH_SENDMAIL "/usr/sbin/sendmail" #define _PATH_SHADOW "/etc/shadow" #define _PATH_SHELLS "/etc/shells" #define _PATH_TTY "/dev/tty" -#define _PATH_UNIX "/boot/vmlinux" #define _PATH_UTMP "/dev/null/utmp" #define _PATH_VI "/usr/bin/vi" #define _PATH_WTMP "/dev/null/wtmp" --------------090000000508000100010209--