User Activity

  • Posted a comment on discussion Help on 7-Zip

    For those who find this thread in the future, to be absolutely precise, for the cu parameter, you want e.g. 7z a -r -mcu=on out.zip files ... The switches help text doesn't mention the cu parameter, at least not with 7-Zip 17.04. which I happen to have. Related tidbit I found while searching for this: the macos APFS filesystem creates Unicode files in the NFD format, as opposed to Windows which uses NFC (in NTFS). For example, if the character is 'รค' or U+00E4: with NFD that is decomposed (the D...

  • Posted a comment on discussion Development on cppcheck

    orbitcowboy wrote: Did you use " --library=posix", at commandline? It should provide information of fdopen to Cppcheck. Ah, no I did not. I wasn't aware of this option. With that, cppcheck does correctly flag that use of fdopen. Thanks! Now I need to figure out how to pass that flag to cppcheck when I am using the Emacs flycheck-mode (that's how I usually interface with cppcheck). fopen leak detected, fdopen leak not detected (cppcheck 2.5.1) https://sourceforge.net/p/cppcheck/discussion/development/thread/e459fa478c/?limit=25#fe1f...

  • Posted a comment on discussion Development on cppcheck

    $ cat leak-fp.c #include <stdio.h> void leak_fp_fopen(char *fn) { fopen(fn, "r"); } void leak_fp_fdopen(FILE *fp) { fdopen(fileno(fp), "r"); } $ cppcheck leak-fp.c /Users/jhi/leak-fp.c:4:5: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] fopen(fn, "r"); ^ $ cppcheck --version Cppcheck 2.5

  • Posted a comment on ticket #125 on Artistic Style

    Ah, duh. Consider this feature request already fulfilled, then.

  • Created ticket #125 on Artistic Style

    verbosity control: show iff file changed

View All

Personal Data

Username:
jhietani
Joined:
2005-04-20 08:35:05

Projects

This is a list of open source software projects that Jarkko Hietaniemi is associated with:

Personal Tools