On Fri, Dec 16, 2011 at 10:13 AM, Peter Korsgaard <[email protected]> wrote: >>>>>> "Denys" == Denys Vlasenko <[email protected]> writes: > > >> Denys> Let's just use xstrcpy(). > >> > >> I don't see any xstrcpy in busybox. Did you perhaps mean xstrdup or > >> strdupa? > > Denys> Oops. I meant xstrdup. > > But then we would have to take care to not leak memory, which is a bit > complicated because of send_file_and_exit() / send_cgi_and_exit().
We implicitly free all memory on exit. > What is the reason you don't like alloca / strdupa? I don't know. I guess it will be fewer bytes of code. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
