[PATCH] debuginfod: DEBUGINFOD_URLS should accept scheme-free urls

Mark Wielaard mark@klomp.org
Sun Jul 5 15:04:49 GMT 2020


Hi Alice,

On Fri, 2020-07-03 at 13:37 -0400, Alice Zhang via Elfutils-devel
wrote:
> Check scheme instead of effective url so that user may abbreviate
> DEBUGINFOD_URL. Add one test for scheme free http url.
> 
> Notice that libcurl does not provide an almighty scheme free url
> support, /path/to/something without FILE:// can not be recognized
> in most circumstances, therefore for the neatness of our code
> structure, DEBUGINFOD_ URL of scheme "FILE" must be input as URI.

Thanks, this looks good, and seems to work against all the various
libcurl versions we support. I did make some whitespace changes and
added ChangeLog entries as attached.

Pushed to master.

Thanks,

Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debuginfod-DEBUGINFOD_URLS-should-accept-scheme-free.patch
Type: text/x-patch
Size: 4974 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/elfutils-devel/attachments/20200705/a7957e0e/attachment.bin>


More information about the Elfutils-devel mailing list