Author: mvidner Date: Mon Jun 1 08:54:39 2009 New Revision: 57367
URL: http://svn.opensuse.org/viewcvs/yast?rev=57367&view=rev Log: Fixed char* constness for glibc-2.10. http://lists.opensuse.org/opensuse-packaging/2009-06/msg00000.html
Modified: trunk/core/VERSION trunk/core/liby2util-r/src/y2log.cc trunk/core/libycp/src/StaticDeclaration.cc trunk/core/package/yast2-core.changes
Modified: trunk/core/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/VERSION?rev=57367&r1=573... ============================================================================== --- trunk/core/VERSION (original) +++ trunk/core/VERSION Mon Jun 1 08:54:39 2009 @@ -1 +1 @@ -2.18.10 +2.18.11
Modified: trunk/core/liby2util-r/src/y2log.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/liby2util-r/src/y2log.cc?rev... ============================================================================== --- trunk/core/liby2util-r/src/y2log.cc (original) +++ trunk/core/liby2util-r/src/y2log.cc Mon Jun 1 08:54:39 2009 @@ -199,10 +199,10 @@ /* Prepare the file, strip rooted path */ if(*file == '/') // rooted path { - char *slashptr = strrchr (file, '/'); + const char *slashptr = strrchr (file, '/'); if (slashptr > file) // last slash is second slash { - char *slashptr2 = slashptr-1; + const char *slashptr2 = slashptr-1;
// find last but one slash
Modified: trunk/core/libycp/src/StaticDeclaration.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/StaticDeclaration... ============================================================================== --- trunk/core/libycp/src/StaticDeclaration.cc (original) +++ trunk/core/libycp/src/StaticDeclaration.cc Mon Jun 1 08:54:39 2009 @@ -282,7 +282,8 @@ #endif
// split the name by the namespace - char *next = strstr (name, "::"); + char *next = const_cast<char *>(strstr (name, "::")); + // cast away const because of the (temporary) '\0' below
#if DO_DEBUG y2debug( "Next is %p", next );
Modified: trunk/core/package/yast2-core.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/package/yast2-core.changes?r... ============================================================================== --- trunk/core/package/yast2-core.changes (original) +++ trunk/core/package/yast2-core.changes Mon Jun 1 08:54:39 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jun 1 08:54:18 CEST 2009 - mvidner@suse.cz + +- Fixed char* constness for glibc-2.10. +- 2.18.11 + +------------------------------------------------------------------- Thu May 14 15:01:49 CEST 2009 - lslezak@suse.cz
- DBus service - fixed DBus object to Yast name space conversion
yast-commit@lists.opensuse.org