patch-1.3.21 linux/scripts/depend.awk

Next file: linux/versions.mk
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/scripts/depend.awk linux/scripts/depend.awk
@@ -14,9 +14,8 @@
 			return "Yes"
 		} else {return ""}
 	}
-	ERRNO=""
-	getline dummy < f
-	if(!length(ERRNO)) {
+	ERRNO = getline dummy < f
+	if(ERRNO >= 0) {
 		close(f)
 		return FILEHASH[f]="Yes"
 	} else {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this