Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as-cache-builder: Cope with no YAML documents #25

Merged
merged 1 commit into from Feb 10, 2016

Commits on Feb 10, 2016

  1. as-cache-builder: Cope with no YAML documents

    It's possible that a suite/arch will have no packages with AppStream; we
    shouldn't crash in that case.
    
    g_strstr_len will return NULL if the string we're searching for ("---")
    is not found - this will be the case if there are only the headers and
    no further documents. In that case we should read to the end of the
    file.
    iainlane committed Feb 10, 2016