bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors when patching bash4.0


From: Chris F.A. Johnson
Subject: Re: Errors when patching bash4.0
Date: Wed, 22 Jul 2009 17:13:41 -0400 (EDT)
User-agent: Alpine 1.10 (NEB 962 2008-03-14)

On Wed, 22 Jul 2009, Alex Reed wrote:

Hello,
I've downloaded and decompressed the bash-4.0 tarball, and downloaded
bash40-001 through bash40-028 into a subdirectory bash-4.0/patches,
using:

bash $ tar xzvf bash-4.0.tar.gz
bash $ cd bash-4.0
bash-4.0 $ mkdir patches
bash-4.0 $ # line breaks added for clarity to you, the reader
for i in {001..028}; do
echo "### OPERATING ON PATCH $i  ###"
lynx <proxy> -dump -width=1000 
http://ftp.gnu.org/gnu.bash/bash-4.0-patches/bash40-$i

   Use -source, not -dump.


patches/bash40-$i;
patch -p0 < patches/bash40-$i
done


Now I start to get some nasty output.
### OPERATING ON PATCH 001 ###
patching file parse.y
Hunk #1 succeeded at 2932 with fuzz 2.
Hunk #2 succeeded at 3276 with fuzz 1.
Hunk #5 FAILED at 3442.
1 out of 4 hunks FAILED -- saving rejects to file parse.y.rej
patching file patchlevel.h
...
...
...

At least one "hunk" fails on every patch file.  What am I doing wrong?

Thanks,
-Alex


--
   Chris F.A. Johnson                      <http://cfaj.freeshell.org>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]