Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
248cfd1c
Commit
248cfd1c
authored
Oct 20, 2002
by
Tom Tromey
Committed by
Tom Tromey
Oct 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jartool.c: Use mode 0666 when opening new file.
From-SVN: r58341
parent
c590b625
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
fastjar/ChangeLog
+4
-0
fastjar/jartool.c
+1
-2
No files found.
fastjar/ChangeLog
View file @
248cfd1c
2002-10-20 Tom Tromey <tromey@redhat.com>
* jartool.c: Use mode 0666 when opening new file.
2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
* configure, config.h.in: Rebuilt.
...
...
fastjar/jartool.c
View file @
248cfd1c
...
...
@@ -439,8 +439,7 @@ int main(int argc, char **argv){
/* create the jarfile */
if
(
action
==
ACTION_CREATE
){
if
(
jarfile
){
jarfd
=
open
(
jarfile
,
O_CREAT
|
O_BINARY
|
O_WRONLY
|
O_TRUNC
,
S_IRUSR
|
S_IWUSR
|
S_IRGRP
|
S_IROTH
);
jarfd
=
open
(
jarfile
,
O_CREAT
|
O_BINARY
|
O_WRONLY
|
O_TRUNC
,
0666
);
if
(
jarfd
<
0
){
fprintf
(
stderr
,
"Error opening %s for writing!
\n
"
,
jarfile
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment