Re: [Qemu-devel] [PATCH][UPDATED] Fix path mangling in linux-user/path.c

2007-06-18 Thread Lauri Leukkunen
On 18/06/07 09:02 +0300, Lauri Leukkunen wrote: > On 17/06/07 17:30 +0100, Thiemo Seufer wrote: > > Lauri Leukkunen wrote: > > - It misses to do error handling on malloc() returns > > - It is broken, an emulated "/bin/ls /.." shows it ascends above > > the root. > > I'll try to provide an

Re: [Qemu-devel] [PATCH][UPDATED] Fix path mangling in linux-user/path.c

2007-06-17 Thread Lauri Leukkunen
On 17/06/07 17:30 +0100, Thiemo Seufer wrote: > Lauri Leukkunen wrote: > > Attached patch fixes the linux-user path mangling code for use with > > real target root filesystems that have nasty symlinks and lots of > > files. The old code is terribly slow and can easily end up going > > through the e

Re: [Qemu-devel] [PATCH][UPDATED] Fix path mangling in linux-user/path.c

2007-06-17 Thread Thiemo Seufer
Lauri Leukkunen wrote: > Attached patch fixes the linux-user path mangling code for use with > real target root filesystems that have nasty symlinks and lots of > files. The old code is terribly slow and can easily end up going > through the entire host system /usr hierarchy in a recursive loop. >

Re: [Qemu-devel] [PATCH][UPDATED] Fix path mangling in linux-user/path.c

2007-05-22 Thread Lauri Leukkunen
On 5/22/07, Kirill A. Shutemov <[EMAIL PROTECTED]> wrote: On [Tue, 22.05.2007 02:22], Lauri Leukkunen wrote: > Attached patch fixes the linux-user path mangling code for use with > real target root filesystems that have nasty symlinks and lots of > files. The old code is terribly slow and can eas

Re: [Qemu-devel] [PATCH][UPDATED] Fix path mangling in linux-user/path.c

2007-05-21 Thread Kirill A. Shutemov
On [Tue, 22.05.2007 02:22], Lauri Leukkunen wrote: > Attached patch fixes the linux-user path mangling code for use with > real target root filesystems that have nasty symlinks and lots of > files. The old code is terribly slow and can easily end up going > through the entire host system /usr hiera

[Qemu-devel] [PATCH][UPDATED] Fix path mangling in linux-user/path.c

2007-05-21 Thread Lauri Leukkunen
Attached patch fixes the linux-user path mangling code for use with real target root filesystems that have nasty symlinks and lots of files. The old code is terribly slow and can easily end up going through the entire host system /usr hierarchy in a recursive loop. Compared to the previous versio