aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libpwdgrp
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/Makefile2
-rw-r--r--libpwdgrp/Makefile.in2
-rw-r--r--libpwdgrp/__getgrent.c4
-rw-r--r--libpwdgrp/__getpwent.c2
-rw-r--r--libpwdgrp/fgetgrent.c4
-rw-r--r--libpwdgrp/fgetpwent.c4
-rw-r--r--libpwdgrp/getgrgid.c4
-rw-r--r--libpwdgrp/getgrnam.c2
-rw-r--r--libpwdgrp/getpw.c4
-rw-r--r--libpwdgrp/getpwnam.c4
-rw-r--r--libpwdgrp/getpwuid.c2
-rw-r--r--libpwdgrp/grent.c4
-rw-r--r--libpwdgrp/initgroups.c4
-rw-r--r--libpwdgrp/putpwent.c4
-rw-r--r--libpwdgrp/pwent.c2
-rw-r--r--libpwdgrp/setgroups.c4
-rw-r--r--libpwdgrp/shadow.c10
17 files changed, 31 insertions, 31 deletions
diff --git a/libpwdgrp/Makefile b/libpwdgrp/Makefile
index 5c54be325..79dbb462f 100644
--- a/libpwdgrp/Makefile
+++ b/libpwdgrp/Makefile
@@ -1,6 +1,6 @@
# Makefile for busybox
#
-# Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
+# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
#
# 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 886639e1f..cb7cbde76 100644
--- a/libpwdgrp/Makefile.in
+++ b/libpwdgrp/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for busybox
#
-# Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
+# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
#
# 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 a20b3a260..ed4f59c5b 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 1b38c27ef..09ed63139 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 da4ca053f..77c2884ed 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <stdio.h>
#include <errno.h>
diff --git a/libpwdgrp/fgetpwent.c b/libpwdgrp/fgetpwent.c
index 54c3b3adc..74bf922d7 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <errno.h>
#include <stdio.h>
diff --git a/libpwdgrp/getgrgid.c b/libpwdgrp/getgrgid.c
index 0f5ce1cac..4502e2b42 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <sys/types.h>
#include <unistd.h>
diff --git a/libpwdgrp/getgrnam.c b/libpwdgrp/getgrnam.c
index 46950e2b6..766b7bc5d 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 d46e2c7da..8494a6ae9 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <sys/types.h>
#include <errno.h>
diff --git a/libpwdgrp/getpwnam.c b/libpwdgrp/getpwnam.c
index 013f155bc..f4caeeab1 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <unistd.h>
#include <string.h>
diff --git a/libpwdgrp/getpwuid.c b/libpwdgrp/getpwuid.c
index bae6e15e6..7fa7ed956 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 ff3c49e68..753026c29 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <unistd.h>
#include <fcntl.h>
diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c
index f97948379..9243fd3ac 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <unistd.h>
#include <string.h>
diff --git a/libpwdgrp/putpwent.c b/libpwdgrp/putpwent.c
index f6b3a2577..0710ff5b2 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 <stdio.h>
#include <errno.h>
diff --git a/libpwdgrp/pwent.c b/libpwdgrp/pwent.c
index f7f8581f3..1cdb2d454 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 <ndf@linux.mit.edu>.
- *
+ *
* 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 449e811dc..15a16f4e6 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 <andersen@codepoet.org>
+ * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
* 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 <errno.h>
#include <unistd.h>
diff --git a/libpwdgrp/shadow.c b/libpwdgrp/shadow.c
index 9e218f96f..b3a4901f5 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
* <jockgrrl@austin.rr.com>, <jfh@austin.ibm.com>
* 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 <stdio.h>
@@ -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 */
"");