aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-15 23:56:53 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-15 23:56:53 -0500
commita285f1f17dccd79968a63e5acc35b5230c236389 (patch)
treefa80fa818fc511836e46600bb588571283791d08 /pspax.c
parentrequirements: pin(ish) Python deps that we use to check things (diff)
downloadpax-utils-a285f1f17dccd79968a63e5acc35b5230c236389.tar.gz
pax-utils-a285f1f17dccd79968a63e5acc35b5230c236389.tar.bz2
pax-utils-a285f1f17dccd79968a63e5acc35b5230c236389.zip
drop old __BOUNDS_CHECKING_ON support
The out-of-tree patches for -fbounds-checking in GCC were great, but they haven't been updated since the gcc-4.0 days, and the sanitizer options have made it obsolete, so it's unlikely we'll ever use this code again. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'pspax.c')
-rw-r--r--pspax.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/pspax.c b/pspax.c
index 6094882..e79469d 100644
--- a/pspax.c
+++ b/pspax.c
@@ -189,15 +189,6 @@ static int print_executable_mappings(int pfd)
return 0;
}
-#ifdef __BOUNDS_CHECKING_ON
-# define NOTE_TO_SELF warn( \
- "This is bullshit but getpwuid() is leaking memory and I wasted a few hrs 1 day tracking it down in pspax\n" \
- "Later on I forgot I tracked it down before and saw pspax leaking memory so I tracked it down all over again (silly me)\n" \
- "Hopefully the getpwuid()/nis/nss/pam or whatever wont suck later on in the future.")
-#else
-# define NOTE_TO_SELF
-#endif
-
static const struct passwd *get_proc_passwd(int pfd)
{
struct stat st;
@@ -577,6 +568,5 @@ int main(int argc, char *argv[])
pspax(name);
- NOTE_TO_SELF;
return EXIT_SUCCESS;
}