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

gherkin: (C) Manually convert uri:s from char* to wchar_t*. #176

Merged
merged 2 commits into from
Apr 2, 2017

Commits on Apr 2, 2017

  1. gherkin: (C) Manually convert uri:s from char* to wchar_t*.

    On Alpine Linux 3.5 running in Docker swprintf does not handle the
    format string L"%hs" properly and the written string becomes empty,
    therefore swprintf cannot be used to convert the uri:s passed as
    argument (as char*) to wide characters (wchar_t*). To work around this
    the uri:s are converted manually character by character, taking into
    account that the uri is utf8 coded (which only make a difference if the
    uri contains non-ascii characters).
    brasmusson committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    be2946a View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    d7f890c View commit details
    Browse the repository at this point in the history