Merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba

Proposed by Paul J. Lucas
Status: Merged
Approved by: Matthias Brantner
Approved revision: 10957
Merged at revision: 10959
Proposed branch: lp:~paul-lucas/zorba/pjl-misc
Merge into: lp:zorba
Diff against target: 22 lines (+3/-2)
1 file modified
src/util/string/rstring.h (+3/-2)
To merge this branch: bzr merge lp:~paul-lucas/zorba/pjl-misc
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Paul J. Lucas Approve
Review via email: mp+116933@code.launchpad.net

Commit message

s/0/npos/

This probably fixes some as-of-yet-undiscovered bug.

Description of the change

s/0/npos/

This probably fixes some as-of-yet-undiscovered bug.

To post a comment you must log in.
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job pjl-misc-2012-07-26T18-02-56.976Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Pending.

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job pjl-misc-2012-07-26T18-59-00.462Z is finished. The
  final status was:

  1 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job pjl-misc-2012-07-26T21-41-59.384Z is finished. The
  final status was:

  1 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Paul J. Lucas (paul-lucas) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job pjl-misc-2012-07-27T22-38-57.279Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Approve.

Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job pjl-misc-2012-07-27T23-22-03.817Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/util/string/rstring.h'
2--- src/util/string/rstring.h 2012-07-26 15:40:03 +0000
3+++ src/util/string/rstring.h 2012-07-26 18:49:19 +0000
4@@ -2349,7 +2349,8 @@
5 data_( allocator_type() )
6 {
7 rep().construct( s.data() + check_pos( pos, s.size(), "rstring" ),
8- s.data() + pos + limit_n( pos, s.size(), n ), allocator_type() );
9+ s.data() + pos + limit_n( pos, s.size(), n ),
10+ allocator_type() );
11 }
12
13 // RSTRING_C_SS_2ST_A_X
14@@ -2377,7 +2378,7 @@
15 data_( a )
16 {
17 // TODO: calls length unnecessarily when doing ptr_rep
18- rep().construct( s, s + (s ? traits_type::length( s ) : 0), a );
19+ rep().construct( s, s + (s ? traits_type::length( s ) : npos), a );
20 }
21
22 // RSTRING_C_CP_ST_A_X

Subscribers

People subscribed via source and target branches