[BusyBox] Re: Sh/CmdEdit fixed and last complex patch

Vladimir N. Oleynik dzo at simtreas.ru
Sat Apr 7 12:31:11 UTC 2001


Gena,

> My patch has nothing to do with BB_FEATURE_GETUSERNAME_AND_HOMEDIR. All I
> do is get the current dir and find last directory name. The only exception
> is '/' which is root directory.
> 
> P.S. You can remove that line w/ variable 'l' I missed that. It should not
> be in there.

Ok. I see, this patch already applied to CVS ;-( without my comment.
This patch have one small error: can`t true complex usage \w and \W. 
(And comment in CVS also error ;) )

Please apply new complex patch:
1) Removed Gena`s error
2) Removed my old error (if $HOME=/home/user1 after "cd /home/user10" view path
as "~0" 
not as "/home/user10")
3) Size optimization (sh, dpkg, pwd, cmdedit, cp_mv applets), requires new
function to
libbb - second file in attach.
4) Reduce debug stuff in cmdedit.c
5) Old losed patch to libbb/print_file.c

I can`t split this patch! Excuse me. 1-4 is complex work.


--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_patch4.gz
Type: application/octet-stream
Size: 4015 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20010407/aa41016c/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xgetcwd.c.gz
Type: application/octet-stream
Size: 651 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20010407/aa41016c/attachment-0001.obj 


More information about the busybox mailing list