[PATCH 1/2] [JOBS] Debug compile fix

2010-07-08 Thread maximilian attems
No point in tracing a no longer undeclared ps-cmd, fixes: jobs.c: In function ‘commandtext’: jobs.c:1192: error: ‘ps’ undeclared (first use in this function) jobs.c:1192: error: (Each undeclared identifier is reported only once jobs.c:1192: error: for each function it appears in.) Signed-off-by:

[PATCH 2/2] [EVAL] clean up myhistedit.h

2010-07-08 Thread maximilian attems
fixes debug compilation of klibc: In file included from usr/dash/eval.c:64: usr/dash/myhistedit.h:34:22: error: histedit.h: No such file or directory In file included from usr/dash/eval.c:64: usr/dash/myhistedit.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

dash klibc DEBUG compile trouble

2010-07-08 Thread maximilian attems
on top of the two easy patches I sent I am seeing this one: usr/dash/exec.c: In function ‘find_command’: usr/dash/exec.c:290: error: storage size of ‘statb’ isn’t known usr/dash/exec.c:299: warning: implicit declaration of function ‘stat64’ usr/dash/exec.c:290: warning: unused variable ‘statb’

Re: dash klibc DEBUG compile trouble

2010-07-08 Thread maximilian attems
On Thu, Jul 08, 2010 at 09:04:01PM +0800, Herbert Xu wrote: maximilian attems m...@stro.at wrote: on top of the two easy patches I sent I am seeing this one: usr/dash/exec.c: In function ???find_command???: usr/dash/exec.c:290: error: storage size of ???statb??? isn???t known

Re: dash klibc DEBUG compile trouble

2010-07-08 Thread Herbert Xu
On Thu, Jul 08, 2010 at 03:17:53PM +0200, maximilian attems wrote: It says that the 64 bit operations are the same as the 32 bit ones, that's why I'm confused. Ah, klibc must be undefining stat64, which then causes struct stat64 to be undeclared. I'll look into it. Thanks, -- Email: