Re: [coldfire-gnu-discuss] system() function broken
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldfire-gnu-discuss] system() function broken
- To: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- Subject: Re: [coldfire-gnu-discuss] system() function broken
- From: Michel Marti <michel.marti@xxxxxxxxxxxx>
- Date: Sun, 21 May 2006 18:25:11 +0200
Nathan Sidwell wrote:
ah, so IIUC, it appears the "/bin/busybox" string is being transformed
into "/bin/busybox ?", so busybox is trying to find the '?' applet.
"/bin/busybox -c ?" that is...
thanks for this information. At the moment we're unable to reproduce
the problem. Have you tried a shell builtin, such as
system ("echo hello");
Here's what happens when calling system("echo hello"):
# ./test
?<... '?' repeats about 8000 times...>?: applet not found
Actually, the shell shows '?', but the real value of these chars is 0xff (as
seen when redirecting stderr and piping it through 'hd').
And here's the output of system("/sbin/ifconfig eth0"):
I?z?(?xp;;??????a??9?RNC??o%???g?!??"?q93S?R?QaGaG?JJ?$U|?t?U?^%u?}??la?5?F?4a???(V?ݞw??E???????!Šɡ?????;?Ī???????gJnyp??j??>?w?Yd?Ч%cդ???Ҳo?%??W?2Ɍv?B-???ڋ,WR???i"?r,???Ƶ??pu?:l???p?ۏ'????W???u??>??Q?^??S?~?RqOuN2?9>???x?v?f%K_?????uOo?-s????P?I???n?r??(???f+Iܘ1<)?{zB-YR?]??VyFÙ?:
applet not found