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);


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to