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:
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
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
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
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
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
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