Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: It seems that I find a zle -F full CPU bug
On Jul 17, 5:52pm, Dominic Hopf wrote:
}
}
} I've tried applying the patch for the Fedora but unfortunately the build
} fails with attached output. Basically, I just did a
}
} git diff -u 79abe00e1d73b3f0681343a70e3e7f84e5e3d647
} 7e04c1a53ddada7a848753d151e18f9469788b98 -- Doc/Zsh/zle.yo
} Src/Zle/zle_main.c >| ~/rpmbuild/SOURCES/0001-zsh-fix-cpuload-issue.patch
}
} to create the patch I'm applying in the SPEC file. Is this something I have
} done wrong?
Your "git diff" is covering too much ground, you've pulled in multiple
unrelated patches but only gotten the subset of the deltas that apply
to zle_main.c, so interdependent changes are lost and breakage results.
Try (backslash-newlines inserted for readability):
git diff -u 73db206838e427348cb91f1955692da5d2820d00 \
7e04c1a53ddada7a848753d151e18f9469788b98 -- \
Doc/Zsh/zle.yo Src/Zle/zle_main.c \
>| ~/rpmbuild/SOURCES/0001-zsh-fix-cpuload-issue.patch
Messages sorted by:
Reverse Date,
Date,
Thread,
Author