Commit Graph

9 Commits

Author SHA1 Message Date
Ian Jones
83da6a028d Fixed one instance of warning re. the use of tmpnam in gui-dialogs.c and removed small duplication of free() in readPNG.c 2021-10-15 02:12:57 +02:00
Ian Jones
2989d8e6ea More fixes and tidying after reading through libpng example.c 2021-10-15 02:12:57 +02:00
Ian Jones
3566a6a42b Fixes to work with libpng > 1.5.0. 2021-10-15 02:12:57 +02:00
Andras Tantos
8baf5f2e62 Modifications and bug-fixes to make Mosaic compile and run under UNICOS. (part 2)
The changes mostly revolve around:
- Type changes and casts to make the picky C-compiler happy
- Fixed bug in XmxExtractToken where it would not zero out bits 16-31 on a non-32-bit system
- Added back old getline implementation as its missing on UNICOS
- Added some missing typedefs and conditional directives to turn on the relevant code pieces for UNICOS
2020-09-10 12:32:06 +02:00
Robert Clausecker
1446c97470 Automatically remove trailing whitespace 2013-03-10 01:59:42 +01:00
Robert Clausecker
39b76427ae Fix some warnings in libwww2
The directory libwww2 now compiles without any warnings with gcc and clang.
2013-03-10 00:06:50 +01:00
Robert Clausecker
2b5f8dcd61 Workaround double free problems
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().
2013-03-09 18:30:05 +01:00
Alan Dipert
331a38581b libpng1.4 compat. thanks Francesco! 2010-03-08 19:10:01 -05:00
Alan Dipert
29c82be0c2 init 2010-03-08 05:55:21 -05:00