Commit 6fcd4186 authored by Kazunori Yamamoto's avatar Kazunori Yamamoto
Browse files

Avoid overriding other flags

parent 7b2e9491
......@@ -65,7 +65,7 @@ func createZipEntry(archive *zip.Writer, fileName string) error {
fh.Name = fileName
fh.Extra = createZipExtra(fi)
// Set EFS flag to indicate that filenames and comments are UTF-8 encoded
fh.Flags = 0x800
fh.Flags |= 0x800
switch fi.Mode() & os.ModeType {
case os.ModeDir:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment