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

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

[Octave-bug-tracker] [bug #57539] instrument-control 0.4.0 e dev


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #57539] instrument-control 0.4.0 e dev
Date: Sat, 4 Jan 2020 17:41:10 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

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

For what I see there are 4 cases where FIONREAD is used

$ grep -rH FIONREAD *
src/serial/serial_class_lin.cc:      ioctl (fd, FIONREAD, &available);
src/serialport/serialport_class_lin.cc:      ioctl (fd, FIONREAD,
&available);
src/tcp/tcp_class.cc:  ioctl (get_fd (), FIONREAD, &available);
src/udp/udp_class.cc:  ioctl (get_fd (), FIONREAD, &available);

tcp_class.cc and udp_class.cc are compiled 
serial_class_lin.cc fails
serialport_class_lin.cc seems ignored from the building.

comparing the headers between the files I see that the following include's all
pull FIONREAD

netinet/in.h
sys/socket.h
netdb.h
arpa/inet.h

but these two not

termios.h
sys/ioctl.h

and they are the only similar one in serial_class_lin.cc




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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