fixing bz 207404
This commit is contained in:
parent
dbef751cdc
commit
a3be73aa2f
11
numactl-parse_bitmap_nodebind.patch
Normal file
11
numactl-parse_bitmap_nodebind.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- numactl-0.9.8/numactl-0.9.8/libnuma.c.orig 2006-09-21 12:26:52.000000000 -0400
|
||||
+++ numactl-0.9.8/numactl-0.9.8/libnuma.c 2006-09-21 12:27:14.000000000 -0400
|
||||
@@ -420,7 +420,7 @@ int numa_parse_bitmap(char *line, unsign
|
||||
while (p > line && *p != ',')
|
||||
--p;
|
||||
/* Eat two 32bit fields at a time to get longs */
|
||||
- if (sizeof(unsigned long) == 8) {
|
||||
+ if (p > line && sizeof(unsigned long) == 8) {
|
||||
oldp--;
|
||||
memmove(p, p+1, oldp-p+1);
|
||||
while (p > line && *p != ',')
|
@ -11,6 +11,7 @@ Buildroot: %{_tmppath}/%{name}-buildroot
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
Patch1: numactl-node-cpubind.patch
|
||||
Patch2: numactl-parse_bitmap_nodebind.patch
|
||||
|
||||
%description
|
||||
Simple NUMA policy support. It consists of a numactl program to run
|
||||
@ -29,6 +30,7 @@ Provides development headers for numa library calls
|
||||
%prep
|
||||
%setup -q -c -a 0
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
cd numactl-%{version}
|
||||
@ -72,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 21 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.36
|
||||
- adding nodebind patch for bz 207404
|
||||
|
||||
* Fri Aug 25 2006 Neil Horman <nhorman@redhat.com> - 0.9.8-1.35
|
||||
- moving over libnuma.so to -devel package as well
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user