bug#1205: [BusyBox] bug#1205: mount handles links differently in 0.60

Matt Kraai kraai at alumni.carnegiemellon.edu
Thu Aug 9 10:15:02 MDT 2001


On Thu, Aug 09, 2001 at 05:46:15PM +0400, Vladimir N. Oleynik wrote:
> Manuel. 
> As a result of this not so beautiful dispute the beautiful idea was born: look
> at realization strcpy_overlap() from this text. It is full analogue Uclibc
> strcpy() but on 
> 14 bytes less (noninline - 10 bytes less :-0 ). 
> 
> Matt. 
> Result more on these bytes (the total difference with your variant makes 66
> bytes and my variant seems to me much faster thanking inline "special" strcpy).

By simplifying the code to remove extra slashes, and using your
new function, the following simplify_path is 17 bytes smaller than
yours (when compiled on busybox.net with -Os).

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sla.c
Type: text/x-csrc
Size: 3200 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20010809/e37aae22/sla.bin


More information about the busybox mailing list