hush: report [v]fork failures

hush: more correct handling of piping
config: add CONFIG_NOMMU
This commit is contained in:
Denis Vlasenko
2008-01-08 20:32:12 +00:00
parent 474d1c57c8
commit d2c450ce81
4 changed files with 53 additions and 37 deletions

View File

@ -231,8 +231,9 @@ typedef unsigned smalluint;
* for a mmu-less system; the user should pass EXTRA_CFLAGS="-DBB_NOMMU"
* on his own.
*/
#if defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \
__UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__
#if ENABLE_NOMMU || \
(defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \
__UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__)
#define BB_MMU 0
#define BB_NOMMU 1
#define USE_FOR_NOMMU(...) __VA_ARGS__