Skip to content

Commit b795c9c

Browse files
Liozoufhs
authored andcommitted
Fix for 1.0 (#42)
* Fix for 1.0 * More update
1 parent b6e6fae commit b795c9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ os:
44
- osx
55
julia:
66
- 0.6
7-
- 0.7
7+
- 1.0
88
- nightly
99
notifications:
1010
email: false

src/ZipFile.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__precompile__()
1+
VERSION < v"0.7.0-beta2.199" && __precompile__()
22

33
"""
44
A Julia package for reading/writing ZIP archive files
@@ -22,7 +22,7 @@ julia> close(w)
2222
julia> r = ZipFile.Reader("/tmp/example.zip");
2323
julia> for f in r.files
2424
println("Filename: \$(f.name)")
25-
write(STDOUT, readstring(f));
25+
write(stdout, readstring(f));
2626
end
2727
julia> close(r)
2828
Filename: hello.txt
@@ -425,7 +425,7 @@ end
425425

426426
# Read data into a. Throws EOFError if a cannot be filled in completely.
427427
function read(f::ReadableFile, a::Array{T}) where T
428-
if !isbits(T)
428+
if !isbitstype(T)
429429
return invoke(read, Tuple{IO,Array}, f, a)
430430
end
431431

0 commit comments

Comments
 (0)