diff options
author | 2003-04-25 23:26:17 +0000 | |
---|---|---|
committer | 2003-04-25 23:26:17 +0000 | |
commit | fb9275100882caee8c9357e2f46c29a9110d4fbb (patch) | |
tree | e2b0ad82000c7e2c90425fcd0a43c3e3a0e18278 | |
parent | comment cleanup (diff) | |
download | wireguard-openbsd-fb9275100882caee8c9357e2f46c29a9110d4fbb.tar.xz wireguard-openbsd-fb9275100882caee8c9357e2f46c29a9110d4fbb.zip |
kill #if 0 code w/ evil string functions, deraadt/tdeval
-rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index 352caf82848..1823138da60 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -1,7 +1,7 @@ -/* $OpenBSD: file.c,v 1.17 2003/04/19 10:46:16 henning Exp $ */ +/* $OpenBSD: file.c,v 1.18 2003/04/25 23:26:17 henning Exp $ */ #ifndef lint -static const char *rcsid = "$OpenBSD: file.c,v 1.17 2003/04/19 10:46:16 henning Exp $"; +static const char *rcsid = "$OpenBSD: file.c,v 1.18 2003/04/25 23:26:17 henning Exp $"; #endif /* @@ -294,17 +294,8 @@ fileGetURL(char *base, char *spec) we don't yet need to backup the category and switch to all. */ cp = strrchr(fname, '/'); -#if 0 - if (cp) { - *cp = '\0'; /* chop name */ - cp = strrchr(fname, '/'); - } -#endif if (cp) { *(cp + 1) = '\0'; -#if 0 - strcat(cp, "All/"); -#endif strlcat(cp, ensure_tgz(spec), sizeof fname); } else |