User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, thanks for the suggestion. That does remove the error, but unfortunately a trivial change re-introduces it: void func( ) { char *text = strdup("test") if (!text) goto END; if (strcmp(text, "test")) goto END; if (text) free(text); return; END: } Replacing the "printf" with "goto END" in the strcmp conditional causes the nullPointerRedundantCheck to occur even with --check-level=exhaustive For the moment I will simply disable this warning.

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, I have the following code: void func( ) { char *text = strdup("test") if (!text) goto END; if (strcmp(text, "test")) printf("Different\n"); if (text) free(text); return; END: } When running using 2.18 or the latest code from 17-Oct-25, I get the following spurious warnings: test.c:6:15: warning: Either the condition 'text' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] if (strcmp(text, "test")) ^ test.c:9:8: note: Assuming that condition 'text' is...

  • Posted a comment on ticket #165 on VcXsrv Windows X Server

    "1. Missing semicolon at line 82 of DockerFile. Not sure if this would cause an issue, but I noticed and fixed." Should read: missed inverted comma (")

  • Posted a comment on ticket #165 on VcXsrv Windows X Server

    OK, so SourceForge has completely mangled my post and appears to offer no way of editing. 5-star source forge :-/ Hopefully you can still get something useful from it.

  • Created ticket #165 on VcXsrv Windows X Server

    Docker image issues in [751c23] master

  • Posted a comment on discussion General Discussion on TurboVNC

    Thanks for that. I can't regenerate the issue with my test program anymore, so it...

  • Posted a comment on discussion General Discussion on TurboVNC

    Hi, We have an X11 application that our users run via TurboVNC v2.0.91 (TVNC server...

  • Created ticket #563 on GnuWin

    bsdtar creates files with access time set to the Unix epoch (01/01/1970)

View All

Personal Data

Username:
james_bray
Joined:
2000-11-07 19:24:10

Projects

This is a list of open source software projects that James Bray is associated with:

Personal Tools

MongoDB Logo MongoDB