Mailinglist Archive: opensuse-commit (561 mails)

< Previous Next >
commit numactl for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Tue, 22 Jun 2010 10:32:49 +0200
  • Message-id: <20100622083249.B38A5201DD@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package numactl for openSUSE:Factory
checked in at Tue Jun 22 10:32:49 CEST 2010.



--------
--- numactl/numactl.changes 2010-02-11 02:32:43.000000000 +0100
+++ /mounts/work_src_done/STABLE/numactl/numactl.changes 2010-06-09
11:31:37.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Jun 9 09:32:15 UTC 2010 - trenn@xxxxxxxxxx
+
+- Fixed corrupt tar.bz2 and added a mem corruption fix from Jan.
+
+-------------------------------------------------------------------
+Thu May 20 12:07:19 UTC 2010 - trenn@xxxxxxxxxx
+
+- Update to version 2.0.4-rc2
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
numactl-2.0.4-rc1.tar.bz2

New:
----
numactl-2.0.4-rc2.tar.bz2
numactl_fix_mem_corrup_numa_init.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ numactl.spec ++++++
--- /var/tmp/diff_new_pack.kqwsvs/_old 2010-06-22 10:31:48.000000000 +0200
+++ /var/tmp/diff_new_pack.kqwsvs/_new 2010-06-22 10:31:48.000000000 +0200
@@ -20,11 +20,11 @@
Url: http://oss.sgi.com/projects/libnuma/

Name: numactl
-License: GPLv2 ; GPLv2+
+License: GPLv2+
Summary: NUMA Policy Control
Version: 2.0.4.rc1
-Release: 3
-%define origversion 2.0.4-rc1
+Release: 4
+%define origversion 2.0.4-rc2
AutoReqProv: on
# bug437293
%ifarch ppc64
@@ -34,6 +34,7 @@
Source: numactl-%{origversion}.tar.bz2
Source2: baselibs.conf
Patch0: numactl_install_all_manpages
+Patch1: numactl_fix_mem_corrup_numa_init.patch
Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: ia64 x86_64 ppc64 ppc %sparc
@@ -88,6 +89,7 @@
%prep
%setup -n %{name}-%{origversion}
%patch0 -p1
+%patch1 -p1

%build
make %{?jobs:-j%jobs} CFLAGS="${RPM_OPT_FLAGS}"

++++++ numactl-2.0.4-rc1.tar.bz2 -> numactl-2.0.4-rc2.tar.bz2 ++++++
++++ 2961 lines of diff (skipped)

++++++ numactl_fix_mem_corrup_numa_init.patch ++++++
From: Jan Beulich <jbeulich@xxxxxxx>

---
libnuma.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

Index: numactl-2.0.4-rc2/libnuma.c
===================================================================
--- numactl-2.0.4-rc2.orig/libnuma.c
+++ numactl-2.0.4-rc2/libnuma.c
@@ -461,10 +461,13 @@ set_task_constraints(void)
read_mask(mask, numa_all_nodes_ptr);
}
if (strncmp(buffer,"Mems_allowed_list:",18) == 0) {
- nodes_allowed_list = malloc(strlen(buffer)-18);
- strncpy(nodes_allowed_list, buffer + 19,
- strlen(buffer) - 19);
- nodes_allowed_list[strlen(nodes_allowed_list)-1] = '\0';
+ size_t len = strlen(mask);
+
+ nodes_allowed_list = malloc(len);
+ if (nodes_allowed_list) {
+ memcpy(nodes_allowed_list, mask, len-1);
+ nodes_allowed_list[len-1] = '\0';
+ }
}
}
fclose(f);

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread