svn commit: trunk/busybox: archival networking

landley at busybox.net landley at busybox.net
Fri Aug 4 20:19:02 UTC 2006


Author: landley
Date: 2006-08-04 13:19:01 -0700 (Fri, 04 Aug 2006)
New Revision: 15778

Log:
Ok, that's not a typo, that's just me not thinking.


Modified:
   trunk/busybox/archival/unzip.c
   trunk/busybox/networking/ftpgetput.c


Changeset:
Modified: trunk/busybox/archival/unzip.c
===================================================================
--- trunk/busybox/archival/unzip.c	2006-08-04 20:15:18 UTC (rev 15777)
+++ trunk/busybox/archival/unzip.c	2006-08-04 20:19:01 UTC (rev 15778)
@@ -333,7 +333,7 @@
 			overwrite = o_always;
 		case 'y': /* Open file and fall into unzip */
 			unzip_create_leading_dirs(dst_fn);
-			dst_fd = xopen3(dst_fn, O_WRONLY | O_CREAT, 777);
+			dst_fd = xopen3(dst_fn, O_WRONLY | O_CREAT, 0777);
 		case -1: /* Unzip */
 			if (verbosity == v_normal) {
 				printf("  inflating: %s\n", dst_fn);

Modified: trunk/busybox/networking/ftpgetput.c
===================================================================
--- trunk/busybox/networking/ftpgetput.c	2006-08-04 20:15:18 UTC (rev 15777)
+++ trunk/busybox/networking/ftpgetput.c	2006-08-04 20:19:01 UTC (rev 15778)
@@ -166,7 +166,7 @@
 		if (do_continue) {
 			fd_local = xopen(local_path, O_APPEND | O_WRONLY);
 		} else {
-			fd_local = xopen3(local_path, O_CREAT | O_TRUNC | O_WRONLY, 777);
+			fd_local = xopen3(local_path, O_CREAT | O_TRUNC | O_WRONLY, 0777);
 		}
 	}
 




More information about the busybox-cvs mailing list