pwupd.c (416ba5c74546f32a993436a99516d35008e9f384) pwupd.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 <sys/wait.h>
33
34#include <err.h>
35#include <errno.h>
36#include <pwd.h>
37#include <libutil.h>
32#include <stdio.h>
33#include <stdlib.h>
34#include <string.h>
35#include <unistd.h>
38#include <stdio.h>
39#include <stdlib.h>
40#include <string.h>
41#include <unistd.h>
36#include <pwd.h>
37#include <libutil.h>
38#include <errno.h>
39#include <err.h>
40#include <sys/types.h>
41#include <sys/stat.h>
42#include <sys/param.h>
43#include <sys/wait.h>
44
45#include "pwupd.h"
46
47char *
48getpwpath(char const * file)
49{
50 static char pathbuf[MAXPATHLEN];
51

--- 100 unchanged lines hidden ---
42
43#include "pwupd.h"
44
45char *
46getpwpath(char const * file)
47{
48 static char pathbuf[MAXPATHLEN];
49

--- 100 unchanged lines hidden ---