tcsh-6.13.00-memoryuse.patch -> tcsh-6.19.00-manpage-memoryuse.patch

The patch has been updated to be more clear. This is a downstream
  patch that we need to keep, it has been requested in BZ: #247637

  Upstream did not accept the patch, because this is specific to Linux:

  <http://mx.gw.com/pipermail/tcsh/2016-April/004972.html>
This commit is contained in:
David Kaspar [Dee'Kej] 2016-04-29 19:45:07 +02:00
parent b20164f006
commit c9086a0723
3 changed files with 28 additions and 28 deletions

View File

@ -1,27 +0,0 @@
From b399918fb3bf9c1f17ba8c85874e2dce7b1497cf Mon Sep 17 00:00:00 2001
From: "Vojtech Vitek (V-Teq)" <vvitek@redhat.com>
Date: Thu, 15 Mar 2012 02:21:37 +0100
Subject: [PATCH 06/14] Add memoryuse note in manpage regarding kernel 2.6 and
higher
---
tcsh.man | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tcsh.man b/tcsh.man
index 7085160..75f2075 100644
--- a/tcsh.man
+++ b/tcsh.man
@@ -2941,7 +2941,8 @@ the size of the largest core dump that will be created
.TP
\fImemoryuse\fR
the maximum amount of physical memory a process
-may have allocated to it at a given time
+may have allocated to it at a given time (this is not implemented in the 2.6+ kernel,
+so there is no effect introduced by changing this value)
.TP
\fIvmemoryuse\fR
the maximum amount of virtual memory a process
--
1.9.3

View File

@ -0,0 +1,26 @@
From 87ee44842faf55de9c52cff06a6e0f54c4fc5a0f Mon Sep 17 00:00:00 2001
From: "David Kaspar [Dee'Kej]" <dkaspar@redhat.com>
Date: Fri, 29 Apr 2016 16:52:59 +0200
Subject: [PATCH] Inform about no support for 'limit memoryuse' in manpage
This patch has been introduced after request in BZ: #247637
---
tcsh.man | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tcsh.man b/tcsh.man
index b79bafe..b70fe14 100644
--- a/tcsh.man
+++ b/tcsh.man
@@ -2945,6 +2945,8 @@ the size of the largest core dump that will be created
\fImemoryuse\fR
the maximum amount of physical memory a process
may have allocated to it at a given time
+
+NOTE: Changing this value has no effect. Support has been removed from Linux kernel v2.6 and newer.
.TP
\fIvmemoryuse\fR
the maximum amount of virtual memory a process
--
2.5.5

View File

@ -33,7 +33,7 @@ Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
# Downstream patches -- these should be always included when doing rebase:
# ------------------
Patch4: tcsh-6.15.00-hist-sub.patch
Patch9: tcsh-6.13.00-memoryuse.patch
Patch9: tcsh-6.19.00-manpage-memoryuse.patch
# Proposed upstream - http://mx.gw.com/pipermail/tcsh-bugs/2015-May/000944.html
Patch39: tcsh-6.19.00-gcc5-calloc.patch
@ -157,6 +157,7 @@ fi
- Add tcsh-6.19.00-tcsh_posix_status-deprecated.patch - temporary patch with warning,
should be removed in F25
- Drop tcsh-6.14.00-order.patch - misleading man page change not reflecting correct behaviour
- Fix tcsh-6.13.00-memoryuse.patch -> tcsh-6.19.00-manpage-memoryuse.patch
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.19.00-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild