Pixel wrote:
> why this fascination for pointers?
> why not 
> : vector<string> downloaded_rpms;

You're right about this one. I was just worried that the string wouldn't
be allocated in the heap. I made a test and it seems you're right. I'll
change it. If this is the way it is, then I can use hash_map instead of
vector.

> same pb ftp_site which should be string and not *string :pp
Yupe :-)

> Function "get_package_name_position" is bad, what will happen with package like
> kernel22? The only working solution is something like
> /^(.*)-([^-]+)-([^-]+)\.[^.]+\.rpm$/
> 
> aka remove .rpm, remove the arch (must not contain .), remove the release (must
> not contain -), remove the version (must not contain -)
I will use the function from MandrakeUpdate

> I wonder if there is an easy C++ regexp engine that could be used to remove
I'll use functions in regex.h and regexp.h . I haven't read regexp.h but
I'll do that now :-)

> Happy coding, cu Pixel.
Thanks, cu Prana

-- 
Prana <[EMAIL PROTECTED]>
http://www.cyest.org
My GnuPG Key ID: 0x33343FD3 (2000-07-21)
Key fingerprint = F1FB 1F76 8866 0F40 A801  D9DA 6BED 6641 3334 3FD3
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3

Reply via email to