grep in hg tip won't build without this patch.
xfdopen is not needed (we already have the file open, and we wouldn't
want to die early if by some peculiar chance that were irrelevant).
diff -r b570b2bfbf7d toys/pending/grep.c
--- a/toys/pending/grep.c Sun Aug 04 01:22:49 2013 -0500
+++ b/to
On Wed, Jun 26, 2013 at 10:35:08PM -0500, Rob Landley wrote:
> This got caught in the spam filter due to the poster not being
> subscribed to the list...
> ==quoted message from lamiaworks ,
> subject "[PATCH] Re: modinfo..."==
> >Looking from puppy linux, the -d is in module-init-tools ve
Attached is a patch that adds -b and -k to modinfo, with tests.
Output of -b differs from module-init-tools by one slash (apparently,
they add a / after basedir, then append /lib/modules/...)
I don't know a better way to test that -k
works.
-b might be better tested using a symlink to /.
I'm a
Here's a test for modinfo; it expects ne2k-pci and 8390 to be modules.
I chose those as lower-churn modules that are likely for VMs...
If /proc/modules is absent, the test is skipped.
(In the process of writing the tests, I discovered that busybox has some
incompatabilities, like the 1-module limi
On Sat, Jun 08, 2013 at 02:40:04PM -0500, Rob Landley wrote:
> On 06/07/2013 01:11:50 AM, Bastian Bittorf wrote:
> >* Rob Landley [07.06.2013 07:57]:
> >> It looks like show_iface() enumerates /proc/net/dev and then calls
> >> readconf() to do ioctl() based enumeration. The /proc one gives
> >us R
On Thu, Jun 06, 2013 at 08:05:11PM -0500, Rob Landley wrote:
> Indexing the ongoing cleanup work:
>
> http://landley.net/toybox/cleanup.html
>
> I'll try to update that page as I add more stuff. (I'm aware how
> painfully obvious it is that I'm not a webpage designer.)
>
> I _thought_ I'd desc
On Sat, May 25, 2013 at 10:08:51PM -0600, Terrel Shumway wrote:
> On Sat, May 25, 2013 at 5:36 PM, wrote:
> > I thought I'd look at what nl takes, since it's not much more than
> > looping over some lines, incrementing, and formatting the output.
> > The POSIX reference page is:
> > http://pubs.o
I thought I'd look at what nl takes, since it's not much more than
looping over some lines, incrementing, and formatting the output.
The POSIX reference page is:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/nl.html
There are a few little "fun" details, though.
-Fixed length strings.
On Fri, May 24, 2013 at 03:51:46PM -0600, Terrel Shumway wrote:
> On Fri, May 24, 2013 at 11:44 AM, Rob Landley wrote:
> > I've been using git reasonably heavily for several years, and I _still_ find
> > its user interface obnoxious and confusing and waste ten minutes looking up
> > how to do some
On Thu, May 23, 2013 at 04:13:37PM -0600, Terrel Shumway wrote:
> I listened to Rob's "Why Toybox" talk and I understand the urgency.
>
> My recent coding experience has been in Python, but I did some C a long
> time ago. I would like to help.
>
> Is there a important command that a semi-newbie c
I'm impressed:
-rwxr-xr-x 1 143640 May 11 23:16 toybox
-rwxr-xr-x 1 252748 May 10 21:32 toybox-895
-rwxr-xr-x 1 166499 May 11 23:16 toybox_unstripped
(Coincidentally, this is the output of ls -lgo with coreutils;
toybox appears to have no way to do a full ls with neither group nor
owner...but I'd e
On Wed, Apr 24, 2013 at 03:04:53AM -0500, Rob Landley wrote:
> On 04/23/2013 12:25:47 AM, idun...@lavabit.com wrote:
> >On Mon, Apr 22, 2013 at 07:36:18PM -0500, Rob Landley wrote:
> >> On 04/22/2013 05:40:28 PM, Isaac Dunham wrote:
> >> >The kernel maps all occurences of '-' in module names to '_'
nbd_client needs for IPPROTO_TCP on musl;
netdb.h includes it already on glibc, but POSIX only specifies it for
netinet/in.h.
(It just got annoying to see make allyesconfig; make CC=musl-gcc fail on
something this trivial.)
Isaac Dunham
diff -r 37e668afd008 toys/pending/nbd_client.c
--- a/toys/p
On Mon, Apr 22, 2013 at 07:36:18PM -0500, Rob Landley wrote:
> On 04/22/2013 05:40:28 PM, Isaac Dunham wrote:
> >Hello,
> >The kernel maps all occurences of '-' in module names to '_', so
> >that if you load a module such as snd-pcm-oss.ko or phc-k8.ko, it
> >is presented by lsmod and /proc/modules
14 matches
Mail list logo