[BusyBox] reboot, halt, poweroff problems.

Larry Doolittle ldoolitt at recycle.lbl.gov
Wed Mar 7 21:30:25 UTC 2001


Nazim -

> 1) After compiling busybox, 'busybox.links' has
>    some Turkish characters. Because translation characters
>    under Turkish locale settings, all 'I' characters
>    are translated to character =FD , not the expected character i.
>    So, the result of Makefile depends on locale settings.

So awk's tolower() function is locale dependent?
That's pretty ugly.  OK, try this patch.

    - Larry

--- /home/ldoolitt/cvs/busybox/busybox.mkll	Fri Jan 26 12:31:02 2001
+++ busybox.mkll	Wed Mar  7 13:27:07 2001
@@ -17,5 +17,5 @@
 	file=$3
 	gsub("\"","",file)
 	if (file=="busybox") next
-	print tolower(dir) "/" file
-  }'
+	print dir "/" file
+  }' | tr 'A-Z' 'a-z'





More information about the busybox mailing list