[PATCH] Fix ioctl() wrappers for 64-bit systems

2008-04-10 Thread Nate Case
The ioctl_*() and bb_xioctl*() functions declare the second argument as int request rather than unsigned long int request which break the ioctl() calls on 64-bit systems. This bug presented itself in the form of login failing during the termios TCSETS call on my ppc64 board: getty:

Re: [PATCH] Fix ioctl() wrappers for 64-bit systems

2008-04-11 Thread Nate Case
that it seems to specifically affect TCSETS and not TCGETS. - Nate Case [EMAIL PROTECTED] ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: [PATCH] Fix ioctl() wrappers for 64-bit systems

2008-04-14 Thread Nate Case
On Mon, 2008-04-14 at 17:48 -0400, Mike Frysinger wrote: Can you send preprocessed output of your testcase in ppc64? Here is the preprocessed output. I don't actually see the ioctl() headers in there that you may have been hoping for, though. you should be creating preprocessed output

Re: [PATCH] Fix ioctl() wrappers for 64-bit systems

2008-04-20 Thread Nate Case
the arg passed to the syscall (explaining why it was the arg that got messed up and not the request field itself). - Nate Case [EMAIL PROTECTED] ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: [PATCH] Fix ioctl() wrappers for 64-bit systems

2008-04-20 Thread Nate Case
that your patch is working for me on ppc64 now. Thanks - Nate Case [EMAIL PROTECTED] ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

[PATCH] dc: Support base 2 output

2008-10-30 Thread Nate Case
Add support for base 2 as an output base in dc, so that you can do things like 'echo 1234 2 o p | dc' to convert to binary. Signed-off-by: Nate Case [EMAIL PROTECTED] --- miscutils/Config.in |7 +++ miscutils/dc.c | 31 +-- 2 files changed, 36

Re: [PATCH] dc: Support base 2 output

2008-10-30 Thread Nate Case
On Fri, 2008-10-31 at 00:26 +0100, Denys Vlasenko wrote: On Thursday 30 October 2008 17:51, Nate Case wrote: Add support for base 2 as an output base in dc, so that you can do things like 'echo 1234 2 o p | dc' to convert to binary. Applied with some modifications. Thanks! Thanks. Nice