Forums : Ohloh General Discussion

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

ohcount bug count C code

Hi,
I found a bug in the ohcount tool. I tried to contact Robin in sourceforge but I had no luck.

The error is that ohcount says incorrectly that C code y C++ code.

Find below how to reproduce the error studying the evince code:

luis@fraggle:/tmp$ git clone git://git.gnome.org/evince

luis@fraggle:/tmp$ ohcount evince/libview/

It says there is 1 cpp file with 502 lines. The only file with this size is ev-jobs.h which is C

luis@fraggle:/tmp/evince/libview$ file ev-jobs.h
ev-jobs.h: ASCII C program text

If you want to see the content of the file, it is available here:
http://git.gnome.org/browse/evince/tree/libview/ev-jobs.h

Luis Cañas-Díaz almost 14 years ago
 

ohcount bug counting C code

I'm also a bit buggy today ;)

Luis Cañas-Díaz almost 14 years ago