Consolidate handling of some fopen failures.

This commit is contained in:
Matt Kraai
2000-09-27 02:43:35 +00:00
parent e0bcce09ba
commit bbaef66b3f
14 changed files with 32 additions and 73 deletions

View File

@ -1718,7 +1718,7 @@ void xregcomp(regex_t *preg, const char *regex, int cflags)
}
#endif
#if defined BB_UNIQ
#if defined BB_HOSTNAME || defined BB_LOADACM || defined BB_MORE || defined BB_SED || defined BB_SH || defined BB_UNIQ || defined BB_WC
FILE *xfopen(const char *path, const char *mode)
{
FILE *fp;