From c7bda1ce659294d6e22c06e087f6f265983c7578 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Mar 2004 08:29:22 +0000 Subject: Remove trailing whitespace. Update copyright to include 2004. --- libpwdgrp/Makefile | 2 +- libpwdgrp/Makefile.in | 2 +- libpwdgrp/__getgrent.c | 4 ++-- libpwdgrp/__getpwent.c | 2 +- libpwdgrp/fgetgrent.c | 4 ++-- libpwdgrp/fgetpwent.c | 4 ++-- libpwdgrp/getgrgid.c | 4 ++-- libpwdgrp/getgrnam.c | 2 +- libpwdgrp/getpw.c | 4 ++-- libpwdgrp/getpwnam.c | 4 ++-- libpwdgrp/getpwuid.c | 2 +- libpwdgrp/grent.c | 4 ++-- libpwdgrp/initgroups.c | 4 ++-- libpwdgrp/putpwent.c | 4 ++-- libpwdgrp/pwent.c | 2 +- libpwdgrp/setgroups.c | 4 ++-- libpwdgrp/shadow.c | 10 +++++----- 17 files changed, 31 insertions(+), 31 deletions(-) (limited to 'libpwdgrp') diff --git a/libpwdgrp/Makefile b/libpwdgrp/Makefile index 5c54be3..79dbb46 100644 --- a/libpwdgrp/Makefile +++ b/libpwdgrp/Makefile @@ -1,6 +1,6 @@ # Makefile for busybox # -# Copyright (C) 1999-2003 by Erik Andersen +# Copyright (C) 1999-2004 by Erik Andersen # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libpwdgrp/Makefile.in b/libpwdgrp/Makefile.in index 886639e..cb7cbde 100644 --- a/libpwdgrp/Makefile.in +++ b/libpwdgrp/Makefile.in @@ -1,6 +1,6 @@ # Makefile for busybox # -# Copyright (C) 1999-2003 by Erik Andersen +# Copyright (C) 1999-2004 by Erik Andersen # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libpwdgrp/__getgrent.c b/libpwdgrp/__getgrent.c index a20b3a2..ed4f59c 100644 --- a/libpwdgrp/__getgrent.c +++ b/libpwdgrp/__getgrent.c @@ -1,7 +1,7 @@ /* * __getgrent.c - This file is part of the libc-8086/grp package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -187,7 +187,7 @@ struct group *bb_getgrent(int grp_fd) } #else /* !GR_SCALE_DYNAMIC */ free(members); - members = (char **) malloc((member_num + 1) * sizeof(char *)); + members = (char **) malloc((member_num + 1) * sizeof(char *)); for ( ; field_begin && *field_begin != '\0'; field_begin = ptr) { if ((ptr = strchr(field_begin, ',')) != NULL) *ptr++ = '\0'; diff --git a/libpwdgrp/__getpwent.c b/libpwdgrp/__getpwent.c index 1b38c27..09ed631 100644 --- a/libpwdgrp/__getpwent.c +++ b/libpwdgrp/__getpwent.c @@ -1,7 +1,7 @@ /* * __getpwent.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either diff --git a/libpwdgrp/fgetgrent.c b/libpwdgrp/fgetgrent.c index da4ca05..77c2884 100644 --- a/libpwdgrp/fgetgrent.c +++ b/libpwdgrp/fgetgrent.c @@ -1,7 +1,7 @@ /* * fgetgrent.c - This file is part of the libc-8086/grp package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/fgetpwent.c b/libpwdgrp/fgetpwent.c index 54c3b3a..74bf922 100644 --- a/libpwdgrp/fgetpwent.c +++ b/libpwdgrp/fgetpwent.c @@ -1,7 +1,7 @@ /* * fgetpwent.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/getgrgid.c b/libpwdgrp/getgrgid.c index 0f5ce1c..4502e2b 100644 --- a/libpwdgrp/getgrgid.c +++ b/libpwdgrp/getgrgid.c @@ -1,7 +1,7 @@ /* * getgrgid.c - This file is part of the libc-8086/grp package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/getgrnam.c b/libpwdgrp/getgrnam.c index 46950e2..766b7bc 100644 --- a/libpwdgrp/getgrnam.c +++ b/libpwdgrp/getgrnam.c @@ -1,7 +1,7 @@ /* * getgrnam.c - This file is part of the libc-8086/grp package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either diff --git a/libpwdgrp/getpw.c b/libpwdgrp/getpw.c index d46e2c7..8494a6a 100644 --- a/libpwdgrp/getpw.c +++ b/libpwdgrp/getpw.c @@ -1,7 +1,7 @@ /* * getpw.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/getpwnam.c b/libpwdgrp/getpwnam.c index 013f155..f4caeea 100644 --- a/libpwdgrp/getpwnam.c +++ b/libpwdgrp/getpwnam.c @@ -1,7 +1,7 @@ /* * getpwnam.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/getpwuid.c b/libpwdgrp/getpwuid.c index bae6e15..7fa7ed9 100644 --- a/libpwdgrp/getpwuid.c +++ b/libpwdgrp/getpwuid.c @@ -1,7 +1,7 @@ /* * getpwuid.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either diff --git a/libpwdgrp/grent.c b/libpwdgrp/grent.c index ff3c49e..753026c 100644 --- a/libpwdgrp/grent.c +++ b/libpwdgrp/grent.c @@ -1,7 +1,7 @@ /* * grent.c - This file is part of the libc-8086/grp package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -24,7 +24,7 @@ * in together. */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c index f979483..9243fd3 100644 --- a/libpwdgrp/initgroups.c +++ b/libpwdgrp/initgroups.c @@ -1,7 +1,7 @@ /* * initgroups.c - This file is part of the libc-8086/grp package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/putpwent.c b/libpwdgrp/putpwent.c index f6b3a25..0710ff5 100644 --- a/libpwdgrp/putpwent.c +++ b/libpwdgrp/putpwent.c @@ -1,7 +1,7 @@ /* * putpwent.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either @@ -18,7 +18,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/pwent.c b/libpwdgrp/pwent.c index f7f8581..1cdb2d4 100644 --- a/libpwdgrp/pwent.c +++ b/libpwdgrp/pwent.c @@ -1,7 +1,7 @@ /* * pwent.c - This file is part of the libc-8086/pwd package for ELKS, * Copyright (C) 1995, 1996 Nat Friedman . - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either diff --git a/libpwdgrp/setgroups.c b/libpwdgrp/setgroups.c index 449e811..15a16f4 100644 --- a/libpwdgrp/setgroups.c +++ b/libpwdgrp/setgroups.c @@ -2,7 +2,7 @@ /* * Taken from the set of syscalls for uClibc * - * Copyright (C) 1999-2003 by Erik Andersen + * Copyright (C) 1999-2004 by Erik Andersen * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Library General Public License as published by @@ -20,7 +20,7 @@ * */ -#include "busybox.h" +#include "busybox.h" #include #include diff --git a/libpwdgrp/shadow.c b/libpwdgrp/shadow.c index 9e218f9..b3a4901 100644 --- a/libpwdgrp/shadow.c +++ b/libpwdgrp/shadow.c @@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * Copyright 1989 - 1994, Julianne Frances Haugh + * Copyright 1989 - 1994, Julianne Frances Haugh * , * All rights reserved. * @@ -29,8 +29,8 @@ * SUCH DAMAGE. */ -/* TODO: fgetspent_r.c getspent_r.c getspnam_r.c sgetspent_r.c - * lckpwdf ulckpwdf +/* TODO: fgetspent_r.c getspent_r.c getspnam_r.c sgetspent_r.c + * lckpwdf ulckpwdf */ #include @@ -267,7 +267,7 @@ struct spwd *fgetspent(FILE *fp) /* * putspent - put a (struct spwd *) into the (FILE *) you provide. - * + * * this was described in shadow_.h but not implemented, so here * I go. -beppu * @@ -290,7 +290,7 @@ int putspent(const struct spwd *sp, FILE *fp) sp->sp_min, /* minimum number of days between changes */ sp->sp_max, /* maximum number of days between changes */ sp->sp_warn, /* number of days of warning before password expires */ - sp->sp_inact, /* number of days after password expires until + sp->sp_inact, /* number of days after password expires until the account becomes unusable */ sp->sp_expire, /* days since 1/1/70 until account expires */ ""); -- cgit v1.1