Re: [dev] Re: sbase

From: pancake <pancake_AT_youterm.com>
Date: Fri, 10 Jun 2011 07:55:00 +0200

Hi

On 10/06/2011, at 4:26, Connor Lane Smith <cls_AT_lubutu.com> wrote:

> On 9 June 2011 23:24, pancake <pancake_AT_youterm.com> wrote:
>> support for string mode format in chmod. Now you can do stuff like chmod +x .. g-rwx , ...
>
> Thanks, I'll get round to looking at this tomorrow.
>
>> fix uninitialized bug in tail
>
> No, there's no bug here; size is allocated and memset on the next line.
>
Your gcc sucks. Mine reports the error here. Size is only allocated if the or condition applies which is not something to always happen opening the doors to use an uninitialized pointer.
>> simplify sleep() -- do not use getopt here.
>
> If a utility takes any arguments I'd like it to refuse invalid flags,
> and accept '--'. I dislike inconsistency.
>

Sleep takes only numeric aegument. My patch works as expected if u pass a string kr a flag.

>> maybe its useful to handle arguments like 0.5 or so ( sleep 0.5 )
>
> Not POSIX, imo not useful. You could make a separate usleep(1) or
> something anyway.

Ok

> Thanks,
> cls
>
Received on Fri Jun 10 2011 - 07:55:00 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 10 2011 - 08:00:05 CEST