]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- removes a sig11 crash which occurs under certain conditions
authorRoman Werpachowski <roman.werpachowski@gmail.com>
Sat, 25 Sep 2004 03:22:53 +0000 (03:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pinfo-sig11.patch -> 1.1

pinfo-sig11.patch [new file with mode: 0644]

diff --git a/pinfo-sig11.patch b/pinfo-sig11.patch
new file mode 100644 (file)
index 0000000..2637906
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN pinfo-0.6.8/src/video.c pinfo-0.6.8.patch/src/video.c
+--- pinfo-0.6.8/src/video.c    2002-07-21 20:42:00.000000000 +0200
++++ pinfo-0.6.8.patch/src/video.c      2004-09-25 05:20:10.042759936 +0200
+@@ -66,7 +66,7 @@
+   attrset (normal);
+   for (i = pos; (i < lines) && (i < pos + maxy - 2); i++)
+     {
+-      int tmp = strlen (message[i]) - 1;
++      int tmp = strlen (message[i]);
+       message[i][tmp] = 0;
+       if(tmp>column)
+         mvaddstr (i + 1 - pos, 0, message[i]+column);
This page took 0.038018 seconds and 4 git commands to generate.