]> git.ipfire.org Git - thirdparty/vala.git/commit
girparser: Don't guess length of xml header, iterate forward to <repository>
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 19 Mar 2021 15:00:49 +0000 (16:00 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 4 Apr 2021 13:43:00 +0000 (15:43 +0200)
commit0de55f1f217683ab3d7dacb92a72c01ef16a9474
treee83d8e9587020c5c2d032832c7e2dbd78597bd62
parent10166000cbf8963cfebae5e15fa0f13b15791308
girparser: Don't guess length of xml header, iterate forward to <repository>

If e.g. the xml header is missing, it resulted in errors like:

    error: expected start element of `repository'
    error: unsupported GIR version (null) (supported: 1.2)
vala/valagirparser.vala