summary refs log tree commit diff
path: root/src/bltin/printf.c
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2008-05-03 14:55:33 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-05-03 15:02:38 +0800
commite46fbc52b79410d9b236883060339f830c34818f (patch)
treee88f697e54e79a74fe04fb4b21009114038b7d4f /src/bltin/printf.c
parent[ERROR] Set default exvwarning2 arg0 for errors during early initialisation (diff)
downloaddash-e46fbc52b79410d9b236883060339f830c34818f.tar.gz
dash-e46fbc52b79410d9b236883060339f830c34818f.zip
[SHELL] Fixed klibc/klcc build problems
klibc does not have mempcpy, so system.h must be included where this is used
to provide the replacement. glob.h doesn't exist, so we need to guard this
include with the HAVE_GLOB definition. Finally, klcc didn't like the syntax
of the main definition in mksignames, and the resulting program segfaulted
when trying to dereference any part of the argv array. Updating the main
function definition solved the problem.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/bltin/printf.c')
0 files changed, 0 insertions, 0 deletions