* [PATCH] remove cruft from paths.h
@ 2013-07-01 11:51 John Spencer
0 siblings, 0 replies; only message in thread
From: John Spencer @ 2013-07-01 11:51 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
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.
[-- Attachment #2: musl-paths.patch --]
[-- Type: text/x-patch, Size: 1069 bytes --]
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-01 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-01 11:51 [PATCH] remove cruft from paths.h John Spencer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).