changed #printfPrintString:
authorClaus Gittinger <cg@exept.de>
Tue, 15 Sep 2009 00:00:18 +0200
changeset 11924 db93de0d761d
parent 11923 bf02cbdab69f
child 11925 6c93ef7cb9ff
changed #printfPrintString:
ShortFloat.st
--- a/ShortFloat.st	Mon Sep 14 23:59:57 2009 +0200
+++ b/ShortFloat.st	Tue Sep 15 00:00:18 2009 +0200
@@ -1012,7 +1012,9 @@
      while on BSD systems the format string has to be %F.
      Also, the resulting string may not be longer than 255 bytes -
      since thats the (static) size of the buffer.
-     This method is NONSTANDARD and may be removed without notice."
+     This method is NONSTANDARD and may be removed without notice.
+     WARNNG: this goes directly to the C-printf function and may therefore me inherently unsafe.
+     Please use the printf: method, which is safe as it is completely implemented in Smalltalk."
 
 %{  /* STACK: 400 */
     char buffer[256];
@@ -1636,5 +1638,5 @@
 !ShortFloat class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ShortFloat.st,v 1.98 2009-05-26 06:37:51 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ShortFloat.st,v 1.99 2009-09-14 22:00:18 cg Exp $'
 ! !