:: Re: [DNG] Unmingling kdbus and the …
Forside
Slet denne besked
Besvar denne besked
Skribent: Hendrik Boom
Dato:  
Til: dng
Emne: Re: [DNG] Unmingling kdbus and the Linux kernel
On Mon, Aug 03, 2015 at 09:41:32AM -0400, Hendrik Boom wrote:
> On Mon, Aug 03, 2015 at 01:14:16PM +0100, Rainer Weikusat wrote:
>
> >
> > [*] In case you want an example where this is at least debatable (and I
> >     happen to disgree with what he wrote on the topic). The simplest way
> >     to implement a block memory copy in C is

>
> Correction:
>
> >
> >     static void cpy(char *d, char const *s, size_t len)
> >     {
> >         while (len) --len, d[len] = s[len];
>          while (len){ --len, d[len] = s[len]; |
> >     }

> >
>
> It may have been simple, but not correct.
>
> The real point here, though, is that it was simple enough for someone
> to fix it easily! This is the whole point of using simple tools that
> do one thing,


And I did it wrong, too, mistyping | for }

-- hendrik
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng