X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=goodpath.c;h=197131427373c4af33155d3e4d7dabe2c727e0ef;hb=4caa124853fc7152ada5797144498078861086c2;hp=7c38d7b7fa2278fa8290f9d57e7423f174720bca;hpb=c2b0b328d4a66431e671fb26b47997033feb5e29;p=debian%2Fsudo diff --git a/goodpath.c b/goodpath.c index 7c38d7b..1971314 100644 --- a/goodpath.c +++ b/goodpath.c @@ -1,6 +1,6 @@ /* - * Copyright (c) 1996, 1998, 1999, 2001 - * Todd C. Miller . + * Copyright (c) 1996, 1998-2005, 2010 + * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -19,7 +19,7 @@ * Materiel Command, USAF, under agreement number F39502-99-1-0512. */ -#include "config.h" +#include #include #include @@ -27,11 +27,10 @@ #include #ifdef HAVE_STRING_H # include -#else -# ifdef HAVE_STRINGS_H -# include -# endif #endif /* HAVE_STRING_H */ +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ @@ -39,10 +38,6 @@ #include "sudo.h" -#ifndef lint -static const char rcsid[] = "$Sudo: goodpath.c,v 1.41 2004/08/24 18:01:13 millert Exp $"; -#endif /* lint */ - /* * Verify that path is a normal file and executable by root. */