From 4e66f937698fd0792c17db2085d99ee5985c81ff Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Tue, 11 May 1999 09:39:31 +0000 Subject: Missing header files and FL_EXTERNs that prevented DLL's from compiling under BCC. Fluid will output A::B::C names for nested classes. Fl_Browser::lineposition(n, BOTTOM) will align the bottom of the line rather than the top with the bottom of the browser. The connect program does wait() so that it does not leave a zombie for every one of your ppp connections. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/connect.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/connect.cxx b/test/connect.cxx index 5b690e64e..81e11667d 100644 --- a/test/connect.cxx +++ b/test/connect.cxx @@ -1,5 +1,5 @@ // -// "$Id: connect.cxx,v 1.4 1999/01/07 19:17:51 mike Exp $" +// "$Id: connect.cxx,v 1.4.2.1 1999/05/11 09:39:31 bill Exp $" // // PPP example program for the Fast Light Tool Kit (FLTK). // @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -40,6 +41,7 @@ int running; // actually the pid Fl_Toggle_Button *Button; void sigchld(int) { + waitpid(running, 0, 0); running = 0; Button->value(0); } @@ -53,6 +55,7 @@ void cb(Fl_Widget *o, void *) { } else { if (!running) return; kill(running, SIGINT); + waitpid(running, 0, 0); running = 0; } } @@ -68,5 +71,5 @@ int main(int argc, char ** argv) { } // -// End of "$Id: connect.cxx,v 1.4 1999/01/07 19:17:51 mike Exp $". +// End of "$Id: connect.cxx,v 1.4.2.1 1999/05/11 09:39:31 bill Exp $". // -- cgit v1.2.3