[BusyBox] Building uname...

Manuel Novoa III mjn3 at codepoet.org
Sun Mar 24 23:54:03 UTC 2002


On Sun, Mar 24, 2002 at 05:03:28PM -0500, Thomas Cameron wrote:
> Hello again,
>     If you look through the code, you'll notice that 'opt' is of type
> 'int', and yet it is printf'ed as %s.  If my memory serves me, %s is for

"opt" isn't printed at all.  Look up the conditional operator
"Z ? X : Y" in any C book.

> string or single, right?  I really don't remember, as it's been so long
> since I've worked with C.  Anyway, might the operations being performed
> on 'opt' have anything to do with it?  I would believe that the compiler
> would make operations more strict when using optimizations.  Anyway,
> it's just a thought.

Try the code now in CVS.

Manuel



More information about the busybox mailing list