diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-11 09:18:09 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-11 09:18:09 +0000 |
commit | 5896c14b351ed211d53ed25aff875df6dbb93b0b (patch) | |
tree | 2bf4a07b960bc190927d2926662accbe1ceebd59 /libbb/xstat.c | |
parent | 306737c3ee1e632e71da658c2bd3abb0f4af8993 (diff) | |
download | busybox-w32-5896c14b351ed211d53ed25aff875df6dbb93b0b.tar.gz busybox-w32-5896c14b351ed211d53ed25aff875df6dbb93b0b.tar.bz2 busybox-w32-5896c14b351ed211d53ed25aff875df6dbb93b0b.zip |
- merge xstat.c into xfuncs.c
git-svn-id: svn://busybox.net/trunk/busybox@16100 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | libbb/xstat.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libbb/xstat.c b/libbb/xstat.c deleted file mode 100644 index 2a6cc3ed7..000000000 --- a/libbb/xstat.c +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | * xstat.c - a stat() which dies on failure with meaningful error message | ||
4 | */ | ||
5 | #include <unistd.h> | ||
6 | #include "libbb.h" | ||
7 | |||
8 | void xstat(const char *name, struct stat *stat_buf) | ||
9 | { | ||
10 | if (stat(name, stat_buf)) | ||
11 | bb_perror_msg_and_die("Can't stat '%s'", name); | ||
12 | } | ||