commit pdisk for openSUSE:Factory
Hello community, here is the log from the commit of package pdisk for openSUSE:Factory checked in at Fri Dec 11 17:26:52 CET 2009. -------- --- pdisk/pdisk.changes 2008-12-17 18:21:06.000000000 +0100 +++ /mounts/work_src_done/STABLE/pdisk/pdisk.changes 2009-12-09 15:21:27.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Dec 9 15:20:46 CET 2009 - meissner@suse.de + +- remove strnlen() implementation from dump.c + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- pdisk-no-strnlen-needed.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdisk.spec ++++++ --- /var/tmp/diff_new_pack.ATaWA6/_old 2009-12-11 17:26:09.000000000 +0100 +++ /var/tmp/diff_new_pack.ATaWA6/_new 2009-12-11 17:26:09.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package pdisk (Version 0.8a) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,8 +21,8 @@ Name: pdisk Summary: Partitioning tool for PPC Macs Version: 0.8a -Release: 558 -License: X11/MIT +Release: 559 +License: MIT Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.cfcl.com/~eryk/linux/pdisk/ @@ -43,6 +43,7 @@ Patch13: pdisk-write_partition_map-unused-result.patch Patch14: pdisk-print_range_list-unused-string.patch Patch15: pdisk.64bit.patch +Patch16: pdisk-no-strnlen-needed.patch ExclusiveArch: ppc ppc64 %description @@ -71,6 +72,7 @@ %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 %build make CFLAGS="$RPM_OPT_FLAGS -Wall -D_FILE_OFFSET_BITS=64" %{?jobs:-j%jobs} ++++++ pdisk-no-strnlen-needed.patch ++++++ Index: pdisk/dump.c =================================================================== --- pdisk.orig/dump.c +++ pdisk/dump.c @@ -131,7 +131,6 @@ void dump_partition_entry(partition_map int get_max_base_or_length(partition_map_header *map); int get_max_name_string_length(partition_map_header *map); int get_max_type_string_length(partition_map_header *map); -int strnlen(char *s, int n); // @@ -789,20 +788,6 @@ display_patches(partition_map *entry) } int -strnlen(char *s, int n) -{ - int i; - - for (i = 0; i < n; i++) { - if (*s == 0) { - break; - } - s++; - } - return i; -} - -int get_max_type_string_length(partition_map_header *map) { partition_map * entry; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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@Hilbert.suse.de