octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60163] Solaris SPARC build: kpty.cpp missing


From: Rik
Subject: [Octave-bug-tracker] [bug #60163] Solaris SPARC build: kpty.cpp missing #include
Date: Wed, 3 Mar 2021 12:41:58 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Follow-up Comment #1, bug #60163 (project octave):

There is already this code sequence:


#ifdef HAVE_SYS_STROPTS_H
# include <sys/stropts.h>       // Defines I_PUSH
# define _NEW_TTY_CTRL
#endif


Followed later by


#if (defined(__svr4__) || defined(__sgi__))
  // Solaris
  ioctl(d->slaveFd, I_PUSH, "ptem");
  ioctl(d->slaveFd, I_PUSH, "ldterm");
#endif


This is the only time I_PUSH is used, and apparently only for the Solaris
platform.

Is it possible that stropts.h should be located in /usr/include/sys/stropts.h
rather than in /usr/include?  Or have the locations of files changed on
Solaris since this code was written and versioning checks need to be done to
find stropts.h?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60163>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]