]> git.pld-linux.org Git - packages/compat-ncurses5.git/commitdiff
- ncurses patches.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 Feb 1999 00:28:05 +0000 (00:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ncurses-rh.patch -> 1.1
    ncurses-setuid.patch -> 1.1

ncurses-rh.patch [new file with mode: 0644]
ncurses-setuid.patch [new file with mode: 0644]

diff --git a/ncurses-rh.patch b/ncurses-rh.patch
new file mode 100644 (file)
index 0000000..8ae5b7e
--- /dev/null
@@ -0,0 +1,14 @@
+--- ncurses-4.2/misc/terminfo.src.rh   Wed May  6 01:50:54 1998
++++ ncurses-4.2/misc/terminfo.src      Wed May  6 01:54:10 1998
+@@ -637,6 +637,11 @@
+ linux-koi8r|linux with koi8-r alternate character set, 
+       use=linux, use=klone+koi8acs, 
++# Entry for the latin1 and latin2 fonts
++linux-lat|linux with latin1 or latin2 alternate character set,
++      use=linux,
++      acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376, 
++
+ # SCO console and SOS-Syscons console for 386bsd
+ # (scoansi: had unknown capabilities
+ #     :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
diff --git a/ncurses-setuid.patch b/ncurses-setuid.patch
new file mode 100644 (file)
index 0000000..48c0d63
--- /dev/null
@@ -0,0 +1,16 @@
+diff -Nur ncurses-4.2/ncurses/tinfo/read_termcap.c ncurses-4.2.orig/ncurses/tinfo/read_termcap.c
+--- ncurses-4.2/ncurses/tinfo/read_termcap.c   Tue Dec  8 20:47:42 1998
++++ ncurses-4.2.orig/ncurses/tinfo/read_termcap.c      Tue Dec  8 20:47:13 1998
+@@ -1039,8 +1039,11 @@
+               for (i = 0; i < filecount; i++) {
+                       T(("Looking for %s in %s", tn, termpaths[i]));
+-                      if ((fp = fopen(termpaths[i], "r")) != (FILE *)0)
++                      if ((_nc_access(termpaths[i], R_OK) < 0)
++                          || (fp = fopen(termpaths[i], "r")) == (FILE *)0)
+                       {
++                          T(("Could not open %s (error %d)", termpaths[i], errno));
++                      } else {
+                               _nc_set_source(termpaths[i]);
+                               /*
This page took 0.093344 seconds and 4 git commands to generate.