Hello community,
here is the log from the commit of package yast2-core for openSUSE:Factory
checked in at Tue Aug 11 17:03:55 CEST 2009.
--------
--- yast2-core/yast2-core.changes 2009-08-03 10:21:11.000000000 +0200
+++ yast2-core/yast2-core.changes 2009-08-11 16:39:54.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Aug 11 16:16:29 CEST 2009 - mvidner@suse.cz
+
+- ycp.pm: convert wide strings to byte strings,
+ to silence a warning when handling parsed XML (bnc#512536).
+- /var/log/YaST2/signal: do not make it executable
+- 2.18.18
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-core-2.18.17.tar.bz2
New:
----
yast2-core-2.18.18.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.zfhu7P/_old 2009-08-11 17:03:27.000000000 +0200
+++ /var/tmp/diff_new_pack.zfhu7P/_new 2009-08-11 17:03:27.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.18.17)
+# spec file for package yast2-core (Version 2.18.18)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,10 +19,10 @@
Name: yast2-core
-Version: 2.18.17
+Version: 2.18.18
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.18.17.tar.bz2
+Source0: yast2-core-2.18.18.tar.bz2
Prefix: /usr
Group: System/YaST
License: GPL v2 or later
@@ -73,7 +73,7 @@
applications using the YaST2 YCP interpreter.
%prep
-%setup -n yast2-core-2.18.17
+%setup -n yast2-core-2.18.18
%build
export SUSE_ASNEEDED=0 # disable --as-needed until this package is fixed
++++++ yast2-core-2.18.17.tar.bz2 -> yast2-core-2.18.18.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/VERSION new/yast2-core-2.18.18/VERSION
--- old/yast2-core-2.18.17/VERSION 2009-08-03 10:02:12.000000000 +0200
+++ new/yast2-core-2.18.18/VERSION 2009-08-11 16:16:42.000000000 +0200
@@ -1 +1 @@
-2.18.17
+2.18.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/aclocal.m4 new/yast2-core-2.18.18/aclocal.m4
--- old/yast2-core-2.18.17/aclocal.m4 2009-08-03 10:11:37.000000000 +0200
+++ new/yast2-core-2.18.18/aclocal.m4 2009-08-11 16:19:24.000000000 +0200
@@ -19,6 +19,162 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant .
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
+# this or PKG_CHECK_MODULES is called, or make sure to call
+# PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$4], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $4])
+elif test $pkg_failed = untried; then
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see http://pkg-config.freedesktop.org/.])],
+ [$4])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$3], , :, [$3])
+fi[]dnl
+])# PKG_CHECK_MODULES
+
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -1014,162 +1170,6 @@
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
-# Copyright © 2004 Scott James Remnant .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
- _pkg_min_version=m4_default([$1], [0.9.0])
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
-
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists. Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
- $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$$1"; then
- pkg_cv_[]$1="$$1"
- elif test -n "$PKG_CONFIG"; then
- PKG_CHECK_EXISTS([$3],
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- [pkg_failed=yes])
- else
- pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
- [AC_MSG_RESULT([no])
- $4])
-elif test $pkg_failed = untried; then
- ifelse([$4], , [AC_MSG_FAILURE(dnl
-[The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-_PKG_TEXT
-
-To get pkg-config, see http://pkg-config.freedesktop.org/.])],
- [$4])
-else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
dnl check for docbook -*- autoconf -*-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agent-modules/testsuite/tests/dir.scr new/yast2-core-2.18.18/agent-modules/testsuite/tests/dir.scr
--- old/yast2-core-2.18.17/agent-modules/testsuite/tests/dir.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.18/agent-modules/testsuite/tests/dir.scr 2009-07-09 17:55:30.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/dir.in.test")
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agent-modules/testsuite/tests/missing.scr new/yast2-core-2.18.18/agent-modules/testsuite/tests/missing.scr
--- old/yast2-core-2.18.17/agent-modules/testsuite/tests/missing.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.18/agent-modules/testsuite/tests/missing.scr 2009-07-09 17:55:30.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/missing.in.test")
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agent-modules/testsuite/tests/read1.scr new/yast2-core-2.18.18/agent-modules/testsuite/tests/read1.scr
--- old/yast2-core-2.18.17/agent-modules/testsuite/tests/read1.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.18/agent-modules/testsuite/tests/read1.scr 2009-07-09 17:55:30.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/read1.in.test")
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agent-modules/testsuite/tests/write1.scr new/yast2-core-2.18.18/agent-modules/testsuite/tests/write1.scr
--- old/yast2-core-2.18.17/agent-modules/testsuite/tests/write1.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.18/agent-modules/testsuite/tests/write1.scr 2009-07-09 17:55:31.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/write1.in.test")
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agent-modules/testsuite/tests/write2.scr new/yast2-core-2.18.18/agent-modules/testsuite/tests/write2.scr
--- old/yast2-core-2.18.17/agent-modules/testsuite/tests/write2.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.18/agent-modules/testsuite/tests/write2.scr 2009-07-09 17:55:23.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/write2.in.test")
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agent-modules/testsuite/tests/write3.scr new/yast2-core-2.18.18/agent-modules/testsuite/tests/write3.scr
--- old/yast2-core-2.18.17/agent-modules/testsuite/tests/write3.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.18/agent-modules/testsuite/tests/write3.scr 2009-07-09 17:55:30.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/write3.in.test")
+)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agents-perl/lib/ycp.pm new/yast2-core-2.18.18/agents-perl/lib/ycp.pm
--- old/yast2-core-2.18.17/agents-perl/lib/ycp.pm 2009-04-10 09:50:30.000000000 +0200
+++ new/yast2-core-2.18.18/agents-perl/lib/ycp.pm 2009-08-11 16:17:12.000000000 +0200
@@ -18,7 +18,7 @@
# Purpose: Call a perl script within a YCP script
#
#----------------------------------------------------------------------
-# $Id: ycp.pm 54334 2008-12-22 13:45:57Z mvidner $
+# $Id: ycp.pm 58322 2009-08-11 14:17:11Z mvidner $
package ycp;
@@ -715,6 +715,13 @@
sub WriteYcpString ($)
{
my $string = shift;
+ # We deal with binary strings (binmode raw), and most code is fine with it.
+ # But XML parsers will mark the strings as text, so convert them back.
+ # bnc#512536, thanks mls
+ # (Note that binmode STDOUT, :utf8 without the same for STDIN would
+ # make bnc#448217).
+ utf8::encode($string) if utf8::is_utf8($string);
+
my @substrings = split /\\/, $string, -1;
foreach my $substring (@substrings)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/agents-perl/lib/ycp.test new/yast2-core-2.18.18/agents-perl/lib/ycp.test
--- old/yast2-core-2.18.17/agents-perl/lib/ycp.test 2009-04-10 09:49:51.000000000 +0200
+++ new/yast2-core-2.18.18/agents-perl/lib/ycp.test 2009-08-11 16:17:12.000000000 +0200
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# $Id: ycp.test 32969 2006-09-19 12:21:30Z mvidner $
+# $Id: ycp.test 58322 2009-08-11 14:17:11Z mvidner $
#
# Test suite for ycp.pm
# Author: Martin Vidner
@@ -349,6 +349,12 @@
}
}
+my $wide_string;
+{
+ use utf8; # this block contains UTF-8, man perlunicode
+ $wide_string = "TUČŇÁK";
+}
+
my @output_string =
(
[ "", '""' ],
@@ -357,17 +363,23 @@
[ "tab\there", '"tab\011here"' ],
[ "a backslash \\ and two \" quotes \".", '"a backslash \\\\ and two \\" quotes \\"."' ],
[ "a trailing backslash\\", '"a trailing backslash\\\\"' ],
+ [ "tučňák", '"tučňák"'], # byte string
+ [ $wide_string, '"TUČŇÁK"'], # text string (wide) should come out as bytes
);
sub TestOutput ()
{
print "TestOutput\n";
+ open NULL, ">", "/dev/null";
for my $case (@output_string)
{
my $output = $case->[1];
print "\t'$output': " if $verbose;
- Result ($output eq ycp::WriteYcpString ($case->[0]));
+ my $actual = ycp::WriteYcpString ($case->[0]);
+ # this triggers a warning if we print a wide character (bnc#512536)
+ print NULL $actual;
+ Result ($output eq $actual);
}
for my $case (@byteblock_test_out)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/config.guess new/yast2-core-2.18.18/config.guess
--- old/yast2-core-2.18.17/config.guess 2009-08-03 10:11:43.000000000 +0200
+++ new/yast2-core-2.18.18/config.guess 2009-08-11 16:19:31.000000000 +0200
@@ -959,10 +959,10 @@
esac
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
+ echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
exit ;;
padre:Linux:*:*)
- echo sparc-unknown-linux-gnu
+ echo sparc-${VENDOR}-linux-gnu
exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
@@ -1009,15 +1009,15 @@
p'`
case "$ld_supported_targets" in
elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu"
+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
;;
a.out-i386-linux)
- echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout"
+ echo "${UNAME_MACHINE}-pc-linux-gnuaout"
exit ;;
"")
# Either a pre-BFD a.out linker (linux-gnuoldld) or
# one that does not give us useful --help.
- echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld"
+ echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
exit ;;
esac
# Determine whether the default compiler is a.out or elf
@@ -1076,16 +1076,16 @@
echo ${UNAME_MACHINE}-pc-os2-emx
exit ;;
i*86:XTS-300:*:STOP)
- echo ${UNAME_MACHINE}-${VENDOR}-stop
+ echo ${UNAME_MACHINE}-unknown-stop
exit ;;
i*86:atheos:*:*)
- echo ${UNAME_MACHINE}-${VENDOR}-atheos
+ echo ${UNAME_MACHINE}-unknown-atheos
exit ;;
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
- echo i386-${VENDOR}-lynxos${UNAME_RELEASE}
+ echo i386-unknown-lynxos${UNAME_RELEASE}
exit ;;
i*86:*DOS:*:*)
echo ${UNAME_MACHINE}-pc-msdosdjgpp
@@ -1105,7 +1105,7 @@
*Pentium) UNAME_MACHINE=i586 ;;
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
esac
- echo ${UNAME_MACHINE}-${VENDOR}-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
exit ;;
i*86:*:3.2:*)
if test -f /usr/options/cb.name; then
@@ -1144,7 +1144,7 @@
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
else # Add other i860-SVR4 vendors below as they are discovered.
- echo i860-${VENDOR}-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit ;;
mini*:CTIX:SYS*5:*)
@@ -1181,19 +1181,19 @@
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
- echo m68k-${VENDOR}-lynxos${UNAME_RELEASE}
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
exit ;;
mc68030:UNIX_System_V:4.*:*)
echo m68k-atari-sysv4
exit ;;
TSUNAMI:LynxOS:2.*:*)
- echo sparc-${VENDOR}-lynxos${UNAME_RELEASE}
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
exit ;;
rs6000:LynxOS:2.*:*)
- echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE}
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit ;;
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
- echo powerpc-${VENDOR}-lynxos${UNAME_RELEASE}
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
exit ;;
SM[BE]S:UNIX_SV:*:*)
echo mips-dde-sysv${UNAME_RELEASE}
@@ -1243,7 +1243,7 @@
if [ -d /usr/nec ]; then
echo mips-nec-sysv${UNAME_RELEASE}
else
- echo mips-${VENDOR}-sysv${UNAME_RELEASE}
+ echo mips-unknown-sysv${UNAME_RELEASE}
fi
exit ;;
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
@@ -1324,13 +1324,13 @@
else
UNAME_MACHINE="$cputype"
fi
- echo ${UNAME_MACHINE}-${VENDOR}-plan9
+ echo ${UNAME_MACHINE}-unknown-plan9
exit ;;
*:TOPS-10:*:*)
- echo pdp10-${VENDOR}-tops10
+ echo pdp10-unknown-tops10
exit ;;
*:TENEX:*:*)
- echo pdp10-${VENDOR}-tenex
+ echo pdp10-unknown-tenex
exit ;;
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
echo pdp10-dec-tops20
@@ -1339,16 +1339,16 @@
echo pdp10-xkl-tops20
exit ;;
*:TOPS-20:*:*)
- echo pdp10-${VENDOR}-tops20
+ echo pdp10-unknown-tops20
exit ;;
*:ITS:*:*)
- echo pdp10-${VENDOR}-its
+ echo pdp10-unknown-its
exit ;;
SEI:*:*:SEIUX)
echo mips-sei-seiux${UNAME_RELEASE}
exit ;;
*:DragonFly:*:*)
- echo ${UNAME_MACHINE}-${VENDOR}-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit ;;
*:*VMS:*:*)
UNAME_MACHINE=`(uname -p) 2>/dev/null`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/configure new/yast2-core-2.18.18/configure
--- old/yast2-core-2.18.17/configure 2009-08-03 10:11:40.000000000 +0200
+++ new/yast2-core-2.18.18/configure 2009-08-11 16:19:27.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-core 2.18.17.
+# Generated by GNU Autoconf 2.63 for yast2-core 2.18.18.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-core'
PACKAGE_TARNAME='yast2-core'
-PACKAGE_VERSION='2.18.17'
-PACKAGE_STRING='yast2-core 2.18.17'
+PACKAGE_VERSION='2.18.18'
+PACKAGE_STRING='yast2-core 2.18.18'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1549,7 +1549,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-core 2.18.17 to adapt to many kinds of systems.
+\`configure' configures yast2-core 2.18.18 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1620,7 +1620,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-core 2.18.17:";;
+ short | recursive ) echo "Configuration of yast2-core 2.18.18:";;
esac
cat <<\_ACEOF
@@ -1733,7 +1733,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-core configure 2.18.17
+yast2-core configure 2.18.18
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1747,7 +1747,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-core $as_me 2.18.17, which was
+It was created by yast2-core $as_me 2.18.18, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2727,7 +2727,7 @@
# Define the identity of the package.
PACKAGE='yast2-core'
- VERSION='2.18.17'
+ VERSION='2.18.18'
cat >>confdefs.h <<_ACEOF
@@ -2849,7 +2849,7 @@
-VERSION="2.18.17"
+VERSION="2.18.18"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -19835,7 +19835,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-core $as_me 2.18.17, which was
+This file was extended by yast2-core $as_me 2.18.18, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19898,7 +19898,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-core config.status 2.18.17
+yast2-core config.status 2.18.18
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/configure.in new/yast2-core-2.18.18/configure.in
--- old/yast2-core-2.18.17/configure.in 2009-08-03 10:11:24.000000000 +0200
+++ new/yast2-core-2.18.18/configure.in 2009-08-11 16:19:09.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf 2.18.9 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.18.17, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.18.18, http://bugs.opensuse.org/, yast2-core)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.18.17"
+VERSION="2.18.18"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.18.17/liby2/src/genericfrontend.cc new/yast2-core-2.18.18/liby2/src/genericfrontend.cc
--- old/yast2-core-2.18.17/liby2/src/genericfrontend.cc 2009-04-28 17:39:17.000000000 +0200
+++ new/yast2-core-2.18.18/liby2/src/genericfrontend.cc 2009-08-11 13:09:52.000000000 +0200
@@ -220,7 +220,7 @@
for (const char ** logfn_p = &logfns[0]; *logfn_p != NULL; ++logfn_p)
{
- signal_log_fd = open (*logfn_p, O_WRONLY | O_CREAT | O_APPEND, 0700);
+ signal_log_fd = open (*logfn_p, O_WRONLY | O_CREAT | O_APPEND, 0600);
if (signal_log_fd != -1)
break;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org