File: ioctl.patch

package info (click to toggle)
waili 19990723-22.2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,564 kB
  • sloc: cpp: 9,964; ansic: 273; makefile: 208; sh: 74
file content (15 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description:  FTBFS(kfreebsd): patch included
Bug-Debian: http://bugs.debian.org/639201
Author: Christoph Egger <christoph@debian.org>

--- waili-19990723/test/Demo.C
+++ waili-19990723/test/Demo.C
@@ -888,7 +888,7 @@
 
     srand48(1);
 
-    if( ioctl(0, TCGETS, &ti))
+    if( tcgetattr(0, &ti))
       prompt=0;
 
 #ifdef RL_READLINE_VERSION