FLTK logo

[master] 571ff10 - Fix "failure to call pclose" (#240)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 571ff10 - Fix "failure to call pclose" (#240) "fire-eggs" Jun 26, 2021  
 
commit 571ff10553a852a30753031e31c65af7b8ebbb7b
Author:     fire-eggs <kbroutley@gmail.com>
AuthorDate: Wed Jun 23 10:49:38 2021 -0400
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Sat Jun 26 14:46:39 2021 +0200

    Fix "failure to call pclose" (#240)

 examples/table-sort.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git examples/table-sort.cxx examples/table-sort.cxx
index b508922..5193f5b 100644
--- examples/table-sort.cxx
+++ examples/table-sort.cxx
@@ -239,6 +239,7 @@ void MyTable::load_command(const char *cmd) {
     rows((int)rowdata_.size());
     // Auto-calculate widths, with 20 pixel padding
     autowidth(20);
+    pclose(fp);
 }
 
 // Callback whenever someone clicks on different parts of the table
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.