diff options
| author | Tharre <tharre3@gmail.com> | 2015-06-13 16:53:21 +0200 | 
|---|---|---|
| committer | Tharre <tharre3@gmail.com> | 2015-06-13 16:53:21 +0200 | 
| commit | fe21dec0e48703c23fd4882232bb04a6292b0dc2 (patch) | |
| tree | 9c90208f9d77f07f5600f2a6b6b5c0a125ac1ef5 | |
| parent | 15583cad7daef5ced710cd20d1aa1a696a3ed057 (diff) | |
| download | redo-fe21dec0e48703c23fd4882232bb04a6292b0dc2.tar.gz redo-fe21dec0e48703c23fd4882232bb04a6292b0dc2.tar.xz redo-fe21dec0e48703c23fd4882232bb04a6292b0dc2.zip  | |
Don't create files with executeable permissions
| -rw-r--r-- | src/build.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c index 8a4ab48..4415516 100644 --- a/src/build.c +++ b/src/build.c @@ -340,7 +340,7 @@ void add_dep(const char *target, const char *parent, int ident) {  			fatal("redo: failed to open %s", dep_path);  		/* no dependency record was found, so we create one */ -		fd = open(dep_path, O_WRONLY | O_APPEND | O_CREAT, 0755); +		fd = open(dep_path, O_WRONLY | O_APPEND | O_CREAT, 0644);  		if (fd < 0)  			fatal("redo: failed to open %s", dep_path);  	}  | 
