svn commit: trunk/busybox/editors
vda at busybox.net
vda at busybox.net
Fri Sep 5 04:59:03 UTC 2008
Author: vda
Date: 2008-09-04 21:59:02 -0700 (Thu, 04 Sep 2008)
New Revision: 23326
Log:
awk: add a comment
Modified:
trunk/busybox/editors/awk.c
Changeset:
Modified: trunk/busybox/editors/awk.c
===================================================================
--- trunk/busybox/editors/awk.c 2008-09-05 01:03:45 UTC (rev 23325)
+++ trunk/busybox/editors/awk.c 2008-09-05 04:59:02 UTC (rev 23326)
@@ -825,6 +825,7 @@
* of target type range. Try to widen it as much as possible */
if (d >= 0)
return (unsigned long)d;
+ /* Why? Think about d == -4294967295.0 (assuming 32bit longs) */
return - (long) (unsigned long) (-d);
}
More information about the busybox-cvs
mailing list