Mailinglist Archive: yast-devel (78 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] r66356 - String::Quote misused, misdesigned
Dne St 12. října 2011 16:53:59 Martin Vidner napsal(a):


- to_restore = add (to_restore, Snapper::GetFileFullPath
(file));
+ to_restore = add (to_restore, String::Quote
(Snapper::GetFileFullPath (file)));

return true;

}
else

This is suspicious. And indeed, to_restore is not passed to
.target.bash later. In this case it is only displayed to the user.

True, String::Quote was removed from this in next commit.

j

--
Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
References