GNOME Bugzilla – Bug 436760
transforming CamelCase with consecutive capitals to lowercase_with_underscores
Last modified: 2008-10-18 20:35:49 UTC
Please describe the problem: Classes with names containing multiple consecutive capitals are not correctly transformed to their lowercase_with_underscores representation. For example, InputStreamFTP becomes input_stream_ft_p rather than input_stream_ftp. The "P" should probably become "_p" only when there are subsequent lowercase characters in the name. Steps to reproduce: 1. Compile class named InputStreamFTP 2. 3. Actual results: Methods have names prefixed by input_stream_ft_p Expected results: Prefix should be input_stream_ftp Does this happen every time? Yes Other information:
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
test case added to vala-tests