From 0d1f5ae827fa1056dbf8f2a5b9cd94a1903e1834 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Fri, 10 Jul 2009 07:32:27 +0000 Subject: [PATCH] Foption patch is more optimal now Update to 436 --- .cvsignore | 2 +- less-406-Foption.patch | 2 +- less.spec | 6 +++++- sources | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index e2d39d8..2b2dfb1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -less-429.tar.gz +less-436.tar.gz diff --git a/less-406-Foption.patch b/less-406-Foption.patch index 3c47ae6..f81e4ce 100644 --- a/less-406-Foption.patch +++ b/less-406-Foption.patch @@ -94,7 +94,7 @@ + + pos = position(TOP); + -+ while (pos != NULL_POSITION) ++ while (pos != NULL_POSITION && nlines <= sc_height) + { + pos = forw_line(pos); + nlines++; diff --git a/less.spec b/less.spec index 6726c2b..22905a5 100644 --- a/less.spec +++ b/less.spec @@ -1,6 +1,6 @@ Summary: A text file browser similar to more, but better Name: less -Version: 429 +Version: 436 Release: 1%{?dist} License: GPLv3+ Group: Applications/Text @@ -63,6 +63,10 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 10 2009 Zdenek Prikryl - 436-1 +- Foption patch is more optimal now +- Update to 436 + * Tue Apr 14 2009 Zdenek Prikryl - 429-1 - Update to 429 diff --git a/sources b/sources index 8275701..096f8e6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -206f2f13b9b0a35e45df660fcb6af31d less-429.tar.gz +817bf051953ad2dea825a1cdf460caa4 less-436.tar.gz