From 263d6e0d5b3272ea76ed646258ee945fae8a096f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 13 Apr 2008 17:13:25 +0100 Subject: [PATCH] Eliminate trailing whitespace. --- Makefile.am | 4 ++-- checkpath.3 | 10 +++++----- checkpath.c | 8 ++++---- checkpath.h | 6 +++--- chkpath.1 | 2 +- chkpath.c | 6 +++--- configure.in | 4 ++-- debian/rules | 2 +- tmpdir.1 | 2 +- tmpdir.c | 6 +++--- 10 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0a6813d..313122b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,12 +15,12 @@ ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. -## +## ## chkpath is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. -## +## ## You should have received a copy of the GNU General Public License ## along with chkpath; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/checkpath.3 b/checkpath.3 index 8bc8faf..8c2b5ac 100644 --- a/checkpath.3 +++ b/checkpath.3 @@ -17,7 +17,7 @@ function checks a path for security. It ensures that only acceptble users and groups can change the files or file contents accessible through the path. .PP -The function is given a +The function is given a .I path to be checked, and a pointer .I cp @@ -30,7 +30,7 @@ of the problems. This structure contains the following members: .TP .B "uid_t cp_uid" -The user running the check. Files and directories owned by +The user running the check. Files and directories owned by .B root (uid 0) and by .B cp_uid @@ -38,7 +38,7 @@ are considered safe. .TP .B "gid_t cp_gid[NGROUPS_MAX + 1]" The groups of which the user is a member. Files whose groups are in -this set may be considered safe, depending on the +this set may be considered safe, depending on the .B cp_what configuration. See below. .TP @@ -46,7 +46,7 @@ configuration. See below. The number of gids in the .B cp_gid array. -.TP +.TP .B "int cp_verbose" The verbosity level. Messages are only given to the reporting function if their verbosity level is less than or equal to this setting. As a @@ -57,7 +57,7 @@ levels 2 and above. The recommended value is 1. .B "unsigned cp_what" A bitmask of flags determining what conditions are considered problems, and other behaviour. See below. -.TP +.TP .B "void (*cp_report)(...)" The reporting function. See below. .TP diff --git a/checkpath.c b/checkpath.c index b6ee94e..4e89668 100644 --- a/checkpath.c +++ b/checkpath.c @@ -7,7 +7,7 @@ * (c) 1999 Mark Wooding */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of chkpath. * @@ -15,12 +15,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * chkpath is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with chkpath; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -499,7 +499,7 @@ void checkpath_setids(struct checkpath *cp) cp->cp_uid = getuid(); n = getgroups(sizeof(cp->cp_gid) / sizeof(cp->cp_gid[0]), cp->cp_gid); - + for (i = 0; i < n; i++) { if (cp->cp_gid[i] == g) goto gid_ok; diff --git a/checkpath.h b/checkpath.h index 5a7e35e..d52eac9 100644 --- a/checkpath.h +++ b/checkpath.h @@ -7,7 +7,7 @@ * (c) 1999 Mark Wooding */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of chkpath. * @@ -15,12 +15,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * chkpath is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with chkpath; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/chkpath.1 b/chkpath.1 index f8ce180..3668936 100644 --- a/chkpath.1 +++ b/chkpath.1 @@ -46,7 +46,7 @@ Displays a relatively verbose message describing how to use .TP .B "\-V, \-\-version" Displays -.BR chkpath 's +.BR chkpath 's version number. .TP .B "\-u, \-\-usage" diff --git a/chkpath.c b/chkpath.c index 79e9207..c9d6656 100644 --- a/chkpath.c +++ b/chkpath.c @@ -7,7 +7,7 @@ * (c) 1999 Mark Wooding */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of chkpath. * @@ -15,12 +15,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * chkpath is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with chkpath; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/configure.in b/configure.in index f1c51c3..5560177 100644 --- a/configure.in +++ b/configure.in @@ -15,12 +15,12 @@ dnl chkpath is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. -dnl +dnl dnl chkpath is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. -dnl +dnl dnl You should have received a copy of the GNU General Public License dnl along with chkpath; if not, write to the Free Software Foundation, dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/debian/rules b/debian/rules index f9674e8..c6945df 100755 --- a/debian/rules +++ b/debian/rules @@ -55,4 +55,4 @@ source: d=`pwd`; cd ..; dpkg-source -i -b $$d/deb-build/=deb=/* rm -rf deb-build/=deb= -.PHONY: binary binary-arch binary-indep clean install source +.PHONY: binary binary-arch binary-indep clean install source diff --git a/tmpdir.1 b/tmpdir.1 index c6286d8..589c945 100644 --- a/tmpdir.1 +++ b/tmpdir.1 @@ -11,7 +11,7 @@ tmpdir \- choose, or check a choice of, temporary directory The .B tmpdir program creates a secure place for temporary files to be stored, and -outputs an assignment to the +outputs an assignment to the .B TMPDIR variable suitable for execution by a shell. .PP diff --git a/tmpdir.c b/tmpdir.c index 47914df..fde2e74 100644 --- a/tmpdir.c +++ b/tmpdir.c @@ -7,7 +7,7 @@ * (c) 1999 Mark Wooding */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of chkpath. * @@ -15,12 +15,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * chkpath is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with chkpath; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -- 2.11.0