|
Last change
on this file since 1135 was 821, checked in by Bruno Cornec, 19 years ago |
|
Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)
|
|
File size:
254 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * xstat.c - a stat() which dies on failure with meaningful error message
|
|---|
| 3 | */
|
|---|
| 4 | #include <unistd.h>
|
|---|
| 5 | #include "libbb.h"
|
|---|
| 6 |
|
|---|
| 7 | void xstat(const char *name, struct stat *stat_buf)
|
|---|
| 8 | {
|
|---|
| 9 | if (stat(name, stat_buf))
|
|---|
| 10 | bb_perror_msg_and_die("Can't stat '%s'", name);
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.