summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
Diffstat (limited to 'languages')
-rw-r--r--languages/cpp/app_templates/cppsdlhello/acinclude.m41
-rw-r--r--languages/cpp/debugger/stty.cpp17
-rw-r--r--languages/ruby/debugger/stty.cpp17
3 files changed, 0 insertions, 35 deletions
diff --git a/languages/cpp/app_templates/cppsdlhello/acinclude.m4 b/languages/cpp/app_templates/cppsdlhello/acinclude.m4
index 9681a33a..843cdd3b 100644
--- a/languages/cpp/app_templates/cppsdlhello/acinclude.m4
+++ b/languages/cpp/app_templates/cppsdlhello/acinclude.m4
@@ -89,7 +89,6 @@ int main (int argc, char *argv[])
*/
{ FILE *fp = fopen("conf.sdlmmtest", "a"); if ( fp ) fclose(fp); }
- /* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_sdlmm_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_sdlmm_version");
diff --git a/languages/cpp/debugger/stty.cpp b/languages/cpp/debugger/stty.cpp
index 2e39ce5f..49bf2c0e 100644
--- a/languages/cpp/debugger/stty.cpp
+++ b/languages/cpp/debugger/stty.cpp
@@ -49,11 +49,6 @@
#include <unistd.h>
#include <errno.h>
-#if defined (_HPUX_SOURCE)
-#define _TERMIOS_INCLUDED
-#include <bsdtty.h>
-#endif
-
#include <tqintdict.h>
#include <tqsocketnotifier.h>
#include <tqstring.h>
@@ -154,18 +149,6 @@ int STTY::findTTY()
// Find a master pty that we can open ////////////////////////////////
-#ifdef __sgi__
- ptyfd = open("/dev/ptmx",O_RDWR);
- if (ptyfd < 0) {
- perror("Can't open a pseudo teletype");
- return(-1);
- }
- strncpy(tty_slave, ptsname(ptyfd), 50);
- grantpt(ptyfd);
- unlockpt(ptyfd);
- needGrantPty = false;
-#endif
-
// first we try UNIX PTY's
#ifdef TIOCGPTN
strcpy(pty_master,"/dev/ptmx");
diff --git a/languages/ruby/debugger/stty.cpp b/languages/ruby/debugger/stty.cpp
index 2e52096d..7d4521d7 100644
--- a/languages/ruby/debugger/stty.cpp
+++ b/languages/ruby/debugger/stty.cpp
@@ -48,11 +48,6 @@
#include <time.h>
#include <unistd.h>
-#if defined (_HPUX_SOURCE)
-#define _TERMIOS_INCLUDED
-#include <bsdtty.h>
-#endif
-
#include <tqintdict.h>
#include <tqsocketnotifier.h>
#include <tqstring.h>
@@ -159,18 +154,6 @@ int STTY::findTTY()
// Find a master pty that we can open ////////////////////////////////
-#ifdef __sgi__
- ptyfd = open("/dev/ptmx",O_RDWR);
- if (ptyfd < 0) {
- perror("Can't open a pseudo teletype");
- return(-1);
- }
- strncpy(tty_slave, ptsname(ptyfd), 50);
- grantpt(ptyfd);
- unlockpt(ptyfd);
- needGrantPty = false;
-#endif
-
// first we try UNIX PTY's
#ifdef TIOCGPTN
strcpy(pty_master,"/dev/ptmx");