Print this page
4078 groupadd execs getent unnecessarily
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com>
*** 26,37 ****
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
!
! #pragma ident "%Z%%M% %I% %E% SMI"
/*LINTLIBRARY*/
#include <sys/types.h>
#include <stdio.h>
--- 26,38 ----
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
! /*
! * Copyright (c) 2013 RackTop Systems.
! */
/*LINTLIBRARY*/
#include <sys/types.h>
#include <stdio.h>
*** 52,62 ****
if (outcount > 40) { \
outcount = 0; \
(void) fprintf(fptr, "\n"); \
}
! #define SKIPWS(ptr) while (*ptr && *ptr == ' ' || *ptr == '\t') ptr++
static char *dup_to_nl(char *);
static struct userdefs defaults = {
DEFRID, DEFGROUP, DEFGNAME, DEFPARENT, DEFSKL,
--- 53,63 ----
if (outcount > 40) { \
outcount = 0; \
(void) fprintf(fptr, "\n"); \
}
! #define SKIPWS(ptr) while (*ptr && (*ptr == ' ' || *ptr == '\t')) ptr++
static char *dup_to_nl(char *);
static struct userdefs defaults = {
DEFRID, DEFGROUP, DEFGNAME, DEFPARENT, DEFSKL,