Paul Eggert <[EMAIL PROTECTED]> wrote:

> Jim Meyering <[EMAIL PROTECTED]> writes:
>
>> +  struct keyfield *key = xmalloc (sizeof *key);
>>
>> +  *key = *key_arg;
>
> No big deal, but those two lines can be replaced with:
>
>    struct keyfield *key = xmemdup (key_arg, sizeof *key);

That's better.  Fixed.
Thanks!


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to