[klibc] [mips] pipe doesn't work in dash
Martin Michlmayr
tbm at cyrius.com
Sun Jan 8 12:56:36 PST 2006
Pipe doesn't work in dash on mips/mipsel - everything delivered to a
pipe is shown on stdout:
mipsel:
$ echo foo | cat > ~/d
foo
<ctrl-c pressed manually>
$ cat ~/d
$
i386:
$ echo foo | cat > ~/d
$ cat ~/d
foo
$
This may be related to the following warnings during compilation but
I'm not sure:
klibc/arch/mips/syscall.S: Assembler messages:
klibc/arch/mips/syscall.S:12: Warning: Macro instruction expanded into multiple instructions in a branch delay slot
KLIBCCC dash/parser.o
dash/parser.c: In function 'readtoken1':
dash/parser.c:1272: warning: 'saveprompt' may be used uninitialized in this function
dash/parser.c:849: warning: 'prevsyntax' may be used uninitialized in this function
dash/parser.c:842: warning: variable 'quotef' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:843: warning: variable 'dblquote' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:844: warning: variable 'varnest' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:845: warning: variable 'arinest' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:846: warning: variable 'parenlevel' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:847: warning: variable 'dqvarnest' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:848: warning: variable 'oldstyle' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:849: warning: variable 'prevsyntax' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:1272: warning: variable 'saveprompt' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:835: warning: argument 'syntax' might be clobbered by 'longjmp' or 'vfork'
KLIBCCC dash/redir.o
--
Martin Michlmayr
http://www.cyrius.com/
More information about the klibc
mailing list