Chameleon

Chameleon Commit Details

Date:2018-01-13 23:40:18 (6 years 3 months ago)
Author:ErmaC
Commit:2905
Parents: 2904
Message:Fix ordered comparison between pointer and zero into uClibcxx module
Changes:
M/branches/ErmaC/Enoch/i386/modules/uClibcxx/include/string
M/trunk/i386/modules/uClibcxx/include/string

File differences

trunk/i386/modules/uClibcxx/include/string
8080
8181
8282
83
83
8484
8585
8686
if(n == npos){
__throw_out_of_range();
}
if(s > 0){
if(s > (void *)0){
resize(n);
Tr::copy(vector<Ch, A>::data, s, vector<Ch, A>::elements);
}
branches/ErmaC/Enoch/i386/modules/uClibcxx/include/string
8080
8181
8282
83
83
8484
8585
8686
if(n == npos){
__throw_out_of_range();
}
if(s > 0){
if(s > (void *)0){
resize(n);
Tr::copy(vector<Ch, A>::data, s, vector<Ch, A>::elements);
}

Archive Download the corresponding diff file

Revision: 2905