Mantis - Quercus
Viewing Issue Advanced Details
1902 minor always 07-24-07 19:36 11-14-07 09:59
rjc  
nam  
normal  
closed 3.1.2  
fixed  
none    
none 3.1.4  
0001902: sscanf BROKEN

sscanf is not listed as unimplemented in the StringModule status page, however a cursory look at the source to StringModule in the latest 3.1.snap shows that it only implements '%s'

This broken a couple of MediaWiki extensions on my end and took hours to track down. A quick glance on Google (http://www.google.com/codesearch?q=scanf+lang%3Ajava&hl=en&btnG=Search+Code) [^] shows a number of Java scanf implementations.

I think either the documentation needs revision to say this function is unimplemented, or, someone should have a go at implementing it properly, either by using an open source implementation, or delegating to ANSI C via JNI.

Notes
(0002488)
nam   
11-14-07 09:59   
php/1138-113m