-
-
Notifications
You must be signed in to change notification settings - Fork 98
dc_set_config("selfavatar", "/path/to/image.png") incorrect on windows #116
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
Comments
We should first write a failing test for this. @dignifiedquire Question is how to write it for multiple platforms. Can you have different |
why should this test be different on different platforms? it should use os independent path separators and abstractions in rust. |
That makes more sense obviously. Where do I start looking? |
… On 7. Jun 2019, 19:30 +0200, Lars-Magnus Skog ***@***.***>, wrote:
That makes more sense obviously. Where do I start looking?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
… On 7. Jun 2019, 19:30 +0200, Lars-Magnus Skog ***@***.***>, wrote:
That makes more sense obviously. Where do I start looking?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually, it seems |
just some background: when calling |
See also the tentatively closed #135 |
could you retry if this is still an issue on master? there are a lot of changes/improvements that might have resolved it. |
k, closing as it's likely fixed and nobody gets back. |
Background: I do
dc_set_config("selfavatar", "/some/path/avatar.png")
and when I get the value back viadc_get_config("selfavatar")
it points to a path in the blob dir that contains a forward slash e.g.: (from integration tests in node bindings)dc_get_config()
in turn callsdc_get_abs_path()
which contains the bug (guessing).The text was updated successfully, but these errors were encountered: