summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-09-10 11:38:23 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-09-10 11:38:23 +0000
commitb0a222364225bd49eeff41e6f0dc380804f7ac4c (patch)
tree6f12fa769cded427d5c732f3acaa93bd8b63af86 /CHANGES
parent4a8e829f09034f0353a03a6b0fb1c15a81c4d9b8 (diff)
Fix compiler warning and potential error in PNG error handling.
Compilation with gcc -Wall -Wextra displayed the following warning: Fl_PNG_Image.cxx: In member function ‘void Fl_PNG_Image::load_png_(const char*, const unsigned char*, int)’: Fl_PNG_Image.cxx:118:9: warning: variable ‘fp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] Making the variable static and initializing it properly avoids this potential error in the PNG lib's error handling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8147a0894..01f5569c9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -92,6 +92,8 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2017
Bug Fixes
- (add new items here)
+ - Fix Fl_PNG_Image error handling. An error was potentially caused
+ by error handling of the image library with setjmp/longjmp.
- Fix Fl_Browser background and text color parsing (STR #3376).
- Fix Windows CreateDC/DeleteDC mismatch (STR #3373).
- Fix Fl_Tabs label drawing for Fl_Window children (STR #3075).