Re: [PATCH] Add a gzip fastpath for the xmalloc readers, v3

2014-12-07 Thread Lauri Kasanen
On Sun, Dec 7, 2014, at 01:51, Denys Vlasenko wrote: It misses the plus one zero byte behavior of the non-compressed path (xmalloc_read). I bet some callers depend on it, using str* functions on the returned buffer. Fixed, and committed to git. Please try it. Results are correct and

[PATCH] Add option -e to swapon and swapoff

2014-12-07 Thread René Rhéaume
Hello, I added the -e option to swapon and swapoff to match util-linux. OpenRC on Linux requires this option in its swap init script. See https://bugs.gentoo.org/show_bug.cgi?id=468598 for details. There are three versions of the patch : for 1.20 and 1.21, for 1.22 and for the master branch. ---

Re: [PATCH] Add acpi applet

2014-12-07 Thread Isaac Dunham
On Fri, Oct 10, 2014 at 11:24:15PM -0700, Isaac Dunham wrote: On several occasions I've wished for a tool that can show battery charge, whether the power supply is working, and similar things. Some time back I wrote the original version of this for toybox; I just ported it to BusyBox. If

custom snmpset coding not working-giving-error

2014-12-07 Thread Akhilesh kumar
Hi all i am writing my own implementation code for snmpset command. I have written the below code but it gives error. I cant figure out how to correct Bad variable type error. #include stdio.h #include net-snmp/net-snmp-config.h #include net-snmp/net-snmp-includes.h #include string.h #include

Re: custom snmpset coding not working-giving-error

2014-12-07 Thread Laszlo Papp
Please stop sending these messages to this mailing list. This is _not_ an SNMP mailing list. If you need programming help, go to trainings or other sites, like Stack Overflow. On Mon, Dec 8, 2014 at 5:57 AM, Akhilesh kumar 95aku...@gmail.com wrote: Hi all i am writing my own implementation

[PATCH] dpkg: update supported compression methods

2014-12-07 Thread Ron Yorston
According to the deb(5) man page the tar files contained in a deb file can be compressed as follows: control.tar: uncompressed, gz, xz data.tar: uncompressed, gz, bz2, lzma, xz Signed-off-by: Ron Yorston r...@tigress.co.uk --- archival/dpkg.c | 12