[Bug 725] busybox awk will wrongly cast integer to string causing functions to fail.

bugzilla at busybox.net bugzilla at busybox.net
Tue Nov 17 23:50:06 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=725





--- Comment #1 from Andy Lord <bugzilla at lordy.org.uk>  2009-11-17 23:50:06 UTC ---
Nicer away to avoid. Always make sure numeric functions return an explicit
numeric value (not implied).
eg 
function b() {
  tmp=a();
  print "a = "tmp;
  return tmp+0;
}


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list