diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-04-22 09:01:48 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-04-22 09:01:48 -0400 |
commit | 894aead8fcecffd99339f2825ce71bede7ec9695 (patch) | |
tree | e832999b9402ebc3db6fb8bbc553b0dcd7300726 | |
parent | 5382942fc080c0d8f8664f64f0a5709ca9886ccd (diff) | |
download | bfs-894aead8fcecffd99339f2825ce71bede7ec9695.tar.xz |
pwcache: Rename from passwd.[ch]
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | eval.c | 2 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | parse.c | 2 | ||||
-rw-r--r-- | printf.c | 2 | ||||
-rw-r--r-- | pwcache.c (renamed from passwd.c) | 2 | ||||
-rw-r--r-- | pwcache.h (renamed from passwd.h) | 6 |
7 files changed, 9 insertions, 9 deletions
@@ -104,8 +104,8 @@ bfs: \ mtab.o \ opt.o \ parse.o \ - passwd.o \ printf.o \ + pwcache.o \ spawn.o \ stat.o \ time.o \ @@ -28,8 +28,8 @@ #include "exec.h" #include "fsade.h" #include "mtab.h" -#include "passwd.h" #include "printf.h" +#include "pwcache.h" #include "stat.h" #include "time.h" #include "trie.h" @@ -40,7 +40,7 @@ * - dstring.[ch] (a dynamic string library) * - fsade.[ch] (a facade over non-standard filesystem features) * - mtab.[ch] (parses the system's mount table) - * - passwd.[ch] (a cache for the user/group tables) + * - pwcache.[ch] (a cache for the user/group tables) * - spawn.[ch] (spawns processes) * - stat.[ch] (wraps stat(), or statx() on Linux) * - time.[ch] (date/time handling utilities) @@ -31,8 +31,8 @@ #include "expr.h" #include "fsade.h" #include "mtab.h" -#include "passwd.h" #include "printf.h" +#include "pwcache.h" #include "spawn.h" #include "stat.h" #include "time.h" @@ -21,7 +21,7 @@ #include "dstring.h" #include "expr.h" #include "mtab.h" -#include "passwd.h" +#include "pwcache.h" #include "stat.h" #include "time.h" #include "util.h" @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * ****************************************************************************/ -#include "passwd.h" +#include "pwcache.h" #include "darray.h" #include "trie.h" #include <errno.h> @@ -18,8 +18,8 @@ * A caching wrapper for /etc/{passwd,group}. */ -#ifndef BFS_PASSWD_H -#define BFS_PASSWD_H +#ifndef BFS_PWCACHE_H +#define BFS_PWCACHE_H #include <grp.h> #include <pwd.h> @@ -114,4 +114,4 @@ const struct group *bfs_getgrgid(const struct bfs_groups *groups, gid_t gid); */ void bfs_free_groups(struct bfs_groups *groups); -#endif // BFS_PASSWD_H +#endif // BFS_PWCACHE_H |