grupd.c (416ba5c74546f32a993436a99516d35008e9f384) | grupd.c (bcbdb01e569876034a66c001132994482b048c31) |
---|---|
1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * SUCH DAMAGE. 25 */ 26 27#ifndef lint 28static const char rcsid[] = 29 "$FreeBSD$"; 30#endif /* not lint */ 31 | 1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * SUCH DAMAGE. 25 */ 26 27#ifndef lint 28static const char rcsid[] = 29 "$FreeBSD$"; 30#endif /* not lint */ 31 |
32#include <err.h> |
|
32#include <grp.h> 33#include <libutil.h> | 33#include <grp.h> 34#include <libutil.h> |
34#include <err.h> | |
35#include <stdio.h> 36#include <stdlib.h> | 35#include <stdio.h> 36#include <stdlib.h> |
37#include <string.h> 38#include <sys/param.h> | |
39 40#include "pwupd.h" 41 42char * 43getgrpath(const char * file) 44{ 45 static char pathbuf[MAXPATHLEN]; 46 --- 61 unchanged lines hidden --- | 37 38#include "pwupd.h" 39 40char * 41getgrpath(const char * file) 42{ 43 static char pathbuf[MAXPATHLEN]; 44 --- 61 unchanged lines hidden --- |