curl-library
[PATCH] curl.h: name space pollution by "enum type"
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Aug 2013 22:54:43 +0200 (CEST)
Received on 2013-08-21
Date: Wed, 21 Aug 2013 22:54:43 +0200 (CEST)
Hi all,
We got this bug report (https://github.com/bagder/curl/pull/76) about a name
space pollution we have in the curl/curl.h public header. It was added by me
in 47c392e135f17 (Jul 22 2009).
The fix that removes the pollution then also changes the name of an enum we
provide. I suspect *very* few programs actually use the enum by name so it
should be very rare that this breaks anything but still...
Any alternative suggestions?
NOTE: my fix is slightly different than the one in the pull request.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- TEXT/x-diff attachment: 0001-curl.h-name-space-pollution-by-enum-type.patch