Remove trailing whitespace. Update copyright to include 2004.
This commit is contained 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
|
||||
|
@@ -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
|
||||
|
@@ -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';
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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>
|
||||
|
@@ -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 */
|
||||
"");
|
||||
|
Reference in New Issue
Block a user