[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: pgrep/pkill
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2007-09-30 16:35:10
Message-ID: 200709301735.10825.vda.linux () googlemail ! com
[Download RAW message or body]

On Sunday 30 September 2007 09:09, Loïc Grenié wrote:
> >     There was a typo at line 122 of pgrep.c and I made an error: kill
> >   cannot exit. I've modified print_signames_and_exit in print_signames
> >   and added a return EXIT_SUCCESS; to pgrep_main.
> 
>     Forgot to attach before sending.

-                               free(cmd_last);
+                               free(cmd);
                                cmd_last = xstrdup(cmd_last);

You mean "cmd_last = xstrdup(cmd);"

The rest is fine, applied.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic