commit stress-ng for openSUSE:Factory
Hello community, here is the log from the commit of package stress-ng for openSUSE:Factory checked in at 2018-03-31 15:37:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stress-ng (Old) and /work/SRC/openSUSE:Factory/.stress-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "stress-ng" Sat Mar 31 15:37:12 2018 rev:39 rq:592541 version:0.09.23 Changes: -------- --- /work/SRC/openSUSE:Factory/stress-ng/stress-ng.changes 2018-03-28 10:30:56.501994444 +0200 +++ /work/SRC/openSUSE:Factory/.stress-ng.new/stress-ng.changes 2018-03-31 15:37:32.732257001 +0200 @@ -1,0 +2,9 @@ +Wed Mar 28 18:06:28 UTC 2018 - mardnh@gmx.de + +- Update to version 0.09.23 + * Makefile: bump version + * cache: revert using shim_str* funcs (LP: #1759515) + Using the shim_* str functions breaks the cache globbing paths, + so for now, revert these. + +------------------------------------------------------------------- Old: ---- stress-ng-0.09.22.tar.xz New: ---- stress-ng-0.09.23.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stress-ng.spec ++++++ --- /var/tmp/diff_new_pack.EciNfF/_old 2018-03-31 15:37:33.732220744 +0200 +++ /var/tmp/diff_new_pack.EciNfF/_new 2018-03-31 15:37:33.732220744 +0200 @@ -18,7 +18,7 @@ Name: stress-ng -Version: 0.09.22 +Version: 0.09.23 Release: 0 Summary: Tool to load and stress a computer License: GPL-2.0-only ++++++ stress-ng-0.09.22.tar.xz -> stress-ng-0.09.23.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stress-ng-0.09.22/Makefile new/stress-ng-0.09.23/Makefile --- old/stress-ng-0.09.22/Makefile 2018-03-23 17:44:44.000000000 +0100 +++ new/stress-ng-0.09.23/Makefile 2018-03-28 11:41:12.000000000 +0200 @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.09.22 +VERSION=0.09.23 # # Codename "portable pressure producer" # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stress-ng-0.09.22/cache.c new/stress-ng-0.09.23/cache.c --- old/stress-ng-0.09.22/cache.c 2018-03-23 17:44:44.000000000 +0100 +++ new/stress-ng-0.09.23/cache.c 2018-03-28 11:41:12.000000000 +0200 @@ -40,7 +40,7 @@ */ #define MK_PATH(path, len, element) \ (void)memset((path) + len, '\0', sizeof(path) - len); \ - (void)shim_strlcpy((path) + len, element, strlen(element)) + (void)strncpy((path) + len, element, strlen(element)) static const generic_map_t cache_type_map[] = { {"data" , CACHE_TYPE_DATA}, @@ -279,7 +279,7 @@ } len = strlen(index_path); - (void)shim_strlcpy(path, index_path, len); + (void)strncpy(path, index_path, len); MK_PATH(path, len, "/type"); contents = get_string_from_file(path); @@ -452,10 +452,10 @@ } len = strlen(cpu_path); - (void)shim_strlcat(glob_path, cpu_path, len); + (void)strncat(glob_path, cpu_path, len); len2 = strlen(SYS_CPU_CACHE_DIR); - (void)shim_strlcat(glob_path, SYS_CPU_CACHE_DIR, len2); + (void)strncat(glob_path, SYS_CPU_CACHE_DIR, len2); len += len2; ret2 = file_exists(glob_path); @@ -476,7 +476,7 @@ return ret; } - (void)shim_strlcat(glob_path, GLOB_PATTERN_INDEX_PREFIX, + (void)strncat(glob_path, GLOB_PATTERN_INDEX_PREFIX, sizeof(glob_path) - len - 1); ret2 = glob(glob_path, GLOB_ONLYDIR, NULL, &globbuf); @@ -593,7 +593,7 @@ cpu->online = 1; } else { len = strlen(results[i]); - (void)shim_strlcpy(path, results[i], len); + (void)strncpy(path, results[i], len); MK_PATH(path, len, "/online"); contents = get_string_from_file(path);
participants (1)
-
root@hilbert.suse.de