FreeBSD Bugzilla – Attachment 76970 Details for
Bug 110879
databases/grass: Use termios.h when available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 585 bytes, created by
Ed Schouten
on 2007-03-26 19:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ed Schouten
Created:
2007-03-26 19:50:02 UTC
Size:
585 bytes
patch
obsolete
>--- lib/gis/intr_char.c Thu Feb 9 04:08:56 2006 >+++ lib/gis/intr_char.c Mon Mar 26 19:27:22 2007 >@@ -2,7 +2,11 @@ > > #include <grass/config.h> > #ifndef __MINGW32__ >-#ifdef HAVE_TERMIO_H >+#if defined(HAVE_TERMIOS_H) >+# include <termios.h> >+# define TYPE termios >+# define C c_cc[VINTR] >+#elif defined(HAVE_TERMIO_H) > # include <termio.h> > # define TYPE termio > # define C c_cc[VINTR] >@@ -32,7 +36,11 @@ > #ifndef __MINGW32__ > struct TYPE buf; > >+#ifdef HAVE_TERMIOS_H >+ tcgetattr (2, &buf); >+#else > ioctl (2, GET, &buf); >+#endif > c = buf.C; > #endif > return c;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110879
: 76970