[Toybox] [PATCH] Don't check whether . or .. are RTCs.

2015-01-23 Thread enh
This probably only seems worthwhile to those of us who spend a large part of every day staring at strace output, but in case you're interested... Before (on a device with only one RTC): getdents64(3, /* 3 entries */, 4200)= 72 newfstatat(3, ., {st_mode=S_IFDIR|0755, st_size=0, ...},

Re: [Toybox] make

2015-01-23 Thread Rob Landley
On 01/22/2015 10:15 AM, dmccunney wrote: On Thu, Jan 22, 2015 at 10:54 AM, stephen Turner stephen.n.tur...@gmail.com wrote: so Gnu make isnt bad but it isnt that great either, I found what looks like it might be a nice little make program but the depressing down side is it uses a new language

[Toybox] Fwd: make

2015-01-23 Thread stephen Turner
I forget where I posted my make rant. Might have been a year or two back on the toybox list? Ah no, it was on the aboriginal list (in two parts): http://lists.landley.net/pipermail/aboriginal-landley.net/2011-June/000859.html

Re: [Toybox] make

2015-01-23 Thread Isaac Dunham
On Fri, Jan 23, 2015 at 04:08:08AM -0600, Rob Landley wrote: But tcl is out of scope. (And only seems to be used for two things: tcl/tk graphics whatsis that python finally mostly weaned itself off of, and expect.) I recommend Brent Welch's Practical Programming in Tcl and Tk from

Re: [Toybox] [PATCH 1/5] bootchartd: Removing wrong free call to non-malloc'ed, string.

2015-01-23 Thread Rob Landley
On 01/22/15 11:03, Luis Felipe Strano Moraes wrote: --- toys/pending/bootchartd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/toys/pending/bootchartd.c b/toys/pending/bootchartd.c index 72ade69..b29d4f0 100644 --- a/toys/pending/bootchartd.c +++ b/toys/pending/bootchartd.c @@

Re: [Toybox] [PATCH 2/5] telnetd: fix failure to build due to missing cast.

2015-01-23 Thread Rob Landley
On 01/22/15 11:03, Luis Felipe Strano Moraes wrote: toys/pending/telnetd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/pending/telnetd.c b/toys/pending/telnetd.c index 4198e63..b17452f 100644 --- a/toys/pending/telnetd.c +++ b/toys/pending/telnetd.c @@ -121,7

Re: [Toybox] [PATCH 5/5] tcpsvd: exit in case call to setuid/setgid failed.

2015-01-23 Thread Rob Landley
On 01/22/15 11:03, Luis Felipe Strano Moraes wrote: toys/pending/tcpsvd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toys/pending/tcpsvd.c b/toys/pending/tcpsvd.c index 585ae73..763b3f9 100644 --- a/toys/pending/tcpsvd.c +++ b/toys/pending/tcpsvd.c @@ -285,8

Re: [Toybox] make

2015-01-23 Thread Daniel Cegiełka
Proposals such as awk, tcl or python does not make sense, if you still need the GNU make, to compile the kernel, musl etc. + tcl/python as deps... Let us define the problem: we do not want GNU make ('allergic to its license'). Requirements: the ability to compile the _linux_ kernel, musl etc.

Re: [Toybox] [Aboriginal] make

2015-01-23 Thread Kartik Agaram
For years I've wanted a shell command called 'loop' that pipes the output at the end of the command line back into the input at the beginning. Maybe I'll put it in toysh. (Ok, for years turns out to be for well over a decade: http://osdir.com/ml/linux.busybox/2004-01/msg00048.html . Sheesh,

Re: [Toybox] [Aboriginal] Init madness

2015-01-23 Thread Patrick Lauer
On 01/18/15 23:48, stephen Turner wrote: Ok, this is just a sanity check for me and not a feature request and you guys are the best I know. Init obviously needs little to nothing in the way of code then calls rc. I suggest you read through sysvinit - it's quite small and pretty much the

Re: [Toybox] [Aboriginal] make

2015-01-23 Thread Kartik Agaram
For years I've wanted a shell command called 'loop' that pipes the output at the end of the command line back into the input at the beginning. Maybe I'll put it in toysh. (Ok, for years turns out to be for well over a decade: http://osdir.com/ml/linux.busybox/2004-01/msg00048.html . Sheesh,

Re: [Toybox] [PATCH 3/5] mktemp: Removing wrong free call to non-malloc'ed

2015-01-23 Thread Rob Landley
On 01/22/15 11:03, Luis Felipe Strano Moraes wrote: toys/lsb/mktemp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toys/lsb/mktemp.c b/toys/lsb/mktemp.c index c1175fe..e76bff4 100644 --- a/toys/lsb/mktemp.c +++ b/toys/lsb/mktemp.c @@ -37,6 +37,7 @@ void

Re: [Toybox] [PATCH] Don't check whether . or .. are RTCs.

2015-01-23 Thread David Seikel
On Fri, 23 Jan 2015 20:18:45 -0600 Rob Landley r...@landley.net wrote: On 01/22/15 23:11, enh wrote: This probably only seems worthwhile to those of us who spend a large part of every day staring at strace output, but in case you're interested... Before (on a device with only one

Re: [Toybox] [PATCH] Don't check whether . or .. are RTCs.

2015-01-23 Thread enh
On Fri, Jan 23, 2015 at 6:18 PM, Rob Landley r...@landley.net wrote: On 01/22/15 23:11, enh wrote: This probably only seems worthwhile to those of us who spend a large part of every day staring at strace output, but in case you're interested... Before (on a device with only one RTC): ...

Re: [Toybox] [PATCH] Don't check whether . or .. are RTCs.

2015-01-23 Thread Rob Landley
On 01/22/15 23:11, enh wrote: This probably only seems worthwhile to those of us who spend a large part of every day staring at strace output, but in case you're interested... Before (on a device with only one RTC): ... diff --git a/toys/pending/hwclock.c b/toys/pending/hwclock.c index

Re: [Toybox] make

2015-01-23 Thread stephen Turner
am i missing something or is gnu make the only Makefile processing make program without adding additional dependencies like perl? Another popular alternative is Scons (http://www.scons.org/), but Scons requires Python. Wikipedia has a list of build automation software -