mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 11:40:31 -04:00
- Respect CFLAGS - Take maintainership ChangeLog for this version: - added feature - the ability to call gl_normal_io() from callbacks registered by gl_watch_fd() and gl_inactivity_timeout(). This allows these callbacks to cleanly suspend line editing before either reading from the terminal, or writing to the terminal; and then subsequently causes the input line to be automatically redisplayed, and line-editing to be resumed by gl_get_line(), as soon as the callback returns. - bugfixes PR: ports/101929 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
26 lines
464 B
C
26 lines
464 B
C
--- demo3.c.orig Sat Aug 12 19:31:16 2006
|
|
+++ demo3.c Sat Aug 12 19:31:29 2006
|
|
@@ -37,17 +37,17 @@
|
|
#include <locale.h>
|
|
#include <setjmp.h>
|
|
|
|
-#ifdef HAVE_SELECT
|
|
-#ifdef HAVE_SYS_SELECT_H
|
|
-#include <sys/select.h>
|
|
-#endif
|
|
-#endif
|
|
-
|
|
#include <unistd.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/time.h>
|
|
#include <sys/types.h>
|
|
#include <signal.h>
|
|
+
|
|
+#ifdef HAVE_SELECT
|
|
+#ifdef HAVE_SYS_SELECT_H
|
|
+#include <sys/select.h>
|
|
+#endif
|
|
+#endif
|
|
|
|
#include "libtecla.h"
|
|
|