I do not quite understand this bit:

-      Args[0] = _config->Find(confvar.c_str(),DecompressProg.c_str()).c_str();
+      string argv0 = _config->Find(confvar.c_str(),DecompressProg.c_str());
+      Args[0] = argv0.c_str();

so the result of _config->Find() is first converted to a c_str(), then
converted back to a string, just to be converted once again to a
c_str(). Is this meant to do something like strdup()?

This should get into the dapper point release, once the patch is sorted
out and verified.

** Changed in: apt (Ubuntu Dapper)
       Target: dapper-updates => ubuntu-6.06.2

-- 
apt cant work with disable proxy
https://bugs.launchpad.net/bugs/47044
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to