New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation with clang, work around double free #6

Merged
merged 2 commits into from Mar 9, 2013
Commits on Mar 9, 2013
  1. Workaround double free problems

    fuzxxl committed Mar 9, 2013
    The source code for handling images has a double free problem. Recent versions
    of the GNU libc have a mechanism to automagically abort the program in such a
    case. This causes Mosaic to crash if images are displayed.
    
    I work around this issue by turning of automatical program abortion with a call
    to mallopt().
  2. Enable compilation with clang

    fuzxxl committed Mar 9, 2013
    Some functions that ought to return a value call return without any value. This
    commit adds a dummy value to each of those returns so that clang stops
    complaining.