Sisyphus repositório
Última atualização: 16 outubro 2019 | SRPMs: 17499 | Visitas: 15275120
en ru br
ALT Linux repositórios
S:1.6.10-alt1

Group :: Development/Tools
RPM: schroot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: schroot-gcc8-assert-fix.patch
Download


--- ./sbuild/sbuild-util.cc.orig	2018-05-05 12:39:09.706894741 -0400
+++ ./sbuild/sbuild-util.cc	2018-05-05 12:41:46.963886076 -0400
@@ -631,7 +631,7 @@ sbuild::passwd::query_uid (uid_t uid)
   ::passwd *pwd_result;
 
   while ((error = getpwuid_r(uid, this,
-                             &buffer[0], buffer.capacity(),
+                             buffer.data(), buffer.capacity(),
                              &pwd_result)))
     {
       size <<= 1;
@@ -654,7 +654,7 @@ sbuild::passwd::query_name (const char *
   ::passwd *pwd_result;
 
   while ((error = getpwnam_r(name, this,
-                             &buffer[0], buffer.capacity(),
+                             buffer.data(), buffer.capacity(),
                              &pwd_result)))
     {
       size <<= 1;
@@ -740,7 +740,7 @@ sbuild::group::query_gid (gid_t gid)
   ::group *grp_result;
 
   while ((error = getgrgid_r(gid, this,
-                             &buffer[0], buffer.capacity(),
+                             buffer.data(), buffer.capacity(),
                              &grp_result)))
     {
       size <<= 1;
@@ -763,7 +763,7 @@ sbuild::group::query_name (const char *n
   ::group *grp_result;
 
   while ((error = getgrnam_r(name, this,
-                             &buffer[0], buffer.capacity(),
+                             buffer.data(), buffer.capacity(),
                              &grp_result)))
     {
       size <<= 1;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009