#88 Do not lump C++ .C,.H files in "Others" [patch]

closed-fixed
nobody
None
5
2008-04-01
2007-07-20
No

On the "File Sizes and File Counts" summary page, in the File Types table, C++ files with .C or .H extension are counted as "Others".

This is due to the extensionPattern in FileTypeReport.java. I've fudged
it here using the following regexp:
".*[^.]\\.([CH]|[a-z0-9_-]+)"

This matches *.C, *.H as well as the current lot of file extensions.

(PS: I don't particularly like the .C and .H file names, which GCC recognises as C++, but we've inherited a project that uses this convention.)

Discussion

  • Benoit Xhenseval

    • status: open --> closed-fixed
     
  • Benoit Xhenseval

    Logged In: YES
    user_id=358115
    Originator: NO

    Applied the patch to the CVS repo.
    Thanks!
    Benoit

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks