From 65344b64d9b5598ee254e5c6b3ebf0443896be4c Mon Sep 17 00:00:00 2001 From: Ondrej Oprala Date: Mon, 21 Jul 2014 13:16:08 +0200 Subject: [PATCH] Mention ulimit -c -f blocksize in POSIX mode --- bash-4.3-man-ulimit.patch | 24 ++++++++++++++++++++++++ bash.spec | 9 ++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 bash-4.3-man-ulimit.patch diff --git a/bash-4.3-man-ulimit.patch b/bash-4.3-man-ulimit.patch new file mode 100644 index 0000000..fdba544 --- /dev/null +++ b/bash-4.3-man-ulimit.patch @@ -0,0 +1,24 @@ +From ccd35766d2451677f4c49f66b8e18ad6e274d56a Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka +Date: Mon, 7 Jul 2014 07:15:41 +0200 +Subject: [PATCH] bash.1: posix block size for cf options + +--- + doc/bash.1 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/doc/bash.1 b/doc/bash.1 +index a4ad746..1916515 100644 +--- a/doc/bash.1 ++++ b/doc/bash.1 +@@ -9451,6 +9451,7 @@ and + which are unscaled values. + The return status is 0 unless an invalid option or argument is supplied, + or an error occurs while setting a new limit. ++In POSIX Mode 512-byte blocks are used for the `-c' and `-f' options. + .RE + .TP + \fBumask\fP [\fB\-p\fP] [\fB\-S\fP] [\fImode\fP] +-- +1.9.3 + diff --git a/bash.spec b/bash.spec index 126da05..f98c5ea 100644 --- a/bash.spec +++ b/bash.spec @@ -7,7 +7,7 @@ Version: %{baseversion}%{patchleveltag} Name: bash Summary: The GNU Bourne Again shell -Release: 3%{?dist} +Release: 4%{?dist} Group: System Environment/Shells License: GPLv3+ Url: http://www.gnu.org/software/bash @@ -86,6 +86,9 @@ Patch125: bash-4.2-size_type.patch # fix deadlock in trap, backported from devel branch Patch127: bash-4.2-trap.patch +# 1112710 - mention ulimit -c and -f POSIX block size +Patch128: bash-4.3-man-ulimit.patch + BuildRequires: texinfo bison BuildRequires: ncurses-devel BuildRequires: autoconf, gettext @@ -156,6 +159,7 @@ This package contains documentation files for %{name}. %patch122 -p1 -b .defer_sigchld_trap %patch123 -p1 %patch125 -p1 -b .size_type +%patch128 -p1 -b .ulimit echo %{version} > _distribution echo %{release} > _patchlevel @@ -351,6 +355,9 @@ end %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %changelog +* Mon Jul 21 2014 Ondrej Oprala - 4.3.18-4 +- Mention ulimit -c and -f block size in POSIX mode + * Fri Jul 11 2014 Tom Callaway - 4.3.18-3 - fix license handling