cpdir.c (8d0f10857a48c0f5e04bf0cbe3d7443cb4f8051a) | cpdir.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 <dirent.h> |
|
32#include <err.h> 33#include <errno.h> 34#include <fcntl.h> | 33#include <err.h> 34#include <errno.h> 35#include <fcntl.h> |
35#include <stdio.h> | |
36#include <string.h> | 36#include <string.h> |
37#include <stdlib.h> | |
38#include <unistd.h> | 37#include <unistd.h> |
39#include <sys/types.h> 40#include <sys/stat.h> 41#include <sys/param.h> 42#include <dirent.h> | |
43 44#include "pw.h" 45#include "pwupd.h" 46 47void 48copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid, 49 gid_t gid, int flags) 50{ --- 79 unchanged lines hidden --- | 38 39#include "pw.h" 40#include "pwupd.h" 41 42void 43copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid, 44 gid_t gid, int flags) 45{ --- 79 unchanged lines hidden --- |