Hello community, here is the log from the commit of package numactl checked in at Fri Jun 9 02:36:22 CEST 2006. -------- --- arch/x86_64/numactl/numactl.changes 2006-06-08 12:24:45.000000000 +0200 +++ numactl/numactl.changes 2006-06-08 17:09:04.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jun 8 17:04:54 CEST 2006 - ak@suse.de + +- Save/restore errno correctly (#182158) + +------------------------------------------------------------------- New: ---- numactl-save-errno ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ numactl.spec ++++++ --- /var/tmp/diff_new_pack.fAXplQ/_old 2006-06-09 02:36:18.000000000 +0200 +++ /var/tmp/diff_new_pack.fAXplQ/_new 2006-06-09 02:36:18.000000000 +0200 @@ -14,13 +14,14 @@ License: GPL Summary: NUMA Policy Control Version: 0.9.6 -Release: 4 +Release: 5 Autoreqprov: on Source: numactl-%version.tar.gz Patch0: numactl-zero Patch1: numactl-zero-fix Patch2: numactl-node-to-cpus Patch3: numactl-number-of-cpus +Patch4: numactl-save-errno Group: System/Management BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ia64 x86_64 ppc64 ppc @@ -42,6 +43,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build make CFLAGS="${RPM_OPT_FLAGS}" @@ -71,6 +73,8 @@ %changelog -n numactl * Thu Jun 08 2006 - ak@suse.de +- Save/restore errno correctly (#182158) +* Thu Jun 08 2006 - ak@suse.de - Fix cpu buffer sizing for affinity syscalls (#182145) * Tue May 23 2006 - ak@suse.de - Fix cpumap parsing again (#177749) ++++++ numactl-number-of-cpus ++++++ --- /var/tmp/diff_new_pack.fAXplQ/_old 2006-06-09 02:36:18.000000000 +0200 +++ /var/tmp/diff_new_pack.fAXplQ/_new 2006-06-09 02:36:18.000000000 +0200 @@ -69,7 +69,7 @@ - return maxcpus + 1; + } + } while (n < 0); -+ return len * 8; ++ return len; } static int fallback_max_node(void) ++++++ numactl-save-errno ++++++ --- numactl/libnuma.c~ 2006-06-08 11:50:19.000000000 +0200 +++ numactl/libnuma.c 2006-06-08 16:57:12.000000000 +0200 @@ -122,7 +122,8 @@ { int len = 16; int n; - + int olde = errno; + if (maxcpus >= 0) return maxcpus + 1; @@ -137,6 +138,7 @@ continue; } } while (n < 0); + errno = olde; return len; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org
participants (1)
-
root@suse.de