wok-6.x diff busybox/stuff/busybox-1.7.3-patch.u @ rev 1424

Up slim 1.3.1 (automatic login + more customizations)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 26 13:16:44 2008 +0000 (2008-09-26)
parents 4b37234fc0be
children
line diff
     1.1 --- a/busybox/stuff/busybox-1.7.3-patch.u	Thu Feb 28 12:30:56 2008 +0000
     1.2 +++ b/busybox/stuff/busybox-1.7.3-patch.u	Fri Sep 26 13:16:44 2008 +0000
     1.3 @@ -128,7 +128,7 @@
     1.4  -		} else {
     1.5  + 		dst_stream = xfopen(new_filename, "w");
     1.6  + 		src_stream = NULL;
     1.7 -+ 		if (!file_doesnt_exist(original_filename)) {
     1.8 ++ 		if (!file_doesnt_exist(original_filename) && backup_filename) {
     1.9   			if (strcmp(original_filename, new_filename) == 0) {
    1.10   				src_stream = xfopen(backup_filename, "r");
    1.11   			} else {