Commit Graph
2 Commits
Author SHA1 Message Date
James Buren decb4e383c fix wrong use of close() instead of fclose() in commit 2fd99a3c8f, fix for FS#1646 2019-03-01 19:42:22 +01:00
James Buren 4b6998eade fix compile warning and segfault caused by a missing return statement
we had the following compile warning:
prt-get.cpp: In member function 'virtual SignalHandler::HandlerResult PrtGet::handleSignal(int)':
prtget.cpp:1628:1: warning: no return statement in function returning non-void [-Wreturn-type] }

which leads to a segfault if we compile prt-get with optimalization, e.g. -O2,
and interrupt prt-get with ^C
2019-03-01 19:21:48 +01:00