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

Fixed Freeze and removed warnings #43

Merged
merged 3 commits into from
Jul 24, 2015

Conversation

SimonDanisch
Copy link
Member

Did not test on 0.3, but unsafe_convert is in Compat, right?
Does this most crucial package actually have no test at all!?

@SimonDanisch
Copy link
Member Author

Culprit: JuliaLang/julia#9007

@@ -48,11 +48,11 @@ end
if VERSION >= v"0.3-"
res = ccall((:URLDownloadToCacheFileW,:urlmon),stdcall,Cuint,
(Ptr{Void},Ptr{Uint16},Ptr{Uint16},Clong,Cint,Ptr{Void}),
0,utf16(source),dest,sizeof(dest)>>1,0,0)
C_NULL,utf16(source),dest,sizeof(dest)>>1,0,C_NULL)
else

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't look like this branch should ever be taken, since REQUIRE specifies julia 0.3?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True..unsafe_convert is not needed!

@SimonDanisch
Copy link
Member Author

Oh so the same stuff happend over there:
JuliaPackaging/Homebrew.jl#90
JuliaLang/julia#9079

@tkelman
Copy link
Contributor

tkelman commented Jul 23, 2015

Yikes, yeah 0.4 has a lot of recently-inflicted brokenness. WinRPM does tend to only get tested indirectly, but we can certainly add tests and set up appveyor here. Last time I tried to use WinRPM from Linux it wasn't able to do anything especially useful.

@vtjnash
Copy link
Member

vtjnash commented Jul 24, 2015

you should be able to use all of the functionality on linux by specifying an architecture string to the various functions

tkelman added a commit that referenced this pull request Jul 24, 2015
Fixed Freeze and removed warnings
@tkelman tkelman merged commit 59c5084 into JuliaPackaging:master Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants