Last change
on this file since c6b4432 was
37ceccb,
checked in by Michael Brooks <mlbrooks@…>, 7 months ago
|
Change string-read semantics so that reading nothing leaves the original value unmodified.
Logically revert #8cffa4f21, and apply the change onto work done since.
At cstring layer, libcfa change is a simplification, and test suite change is merely a different expectation.
At var-len-string layer, libcfa change is a patch to enable detecting the nothing-read case,
and test sute change (shows the different expectation but also) puts a similar patch into its "stop trying if nothing read" loop exits.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[2fa0237] | 1 | pre1 "123456", canary ok |
---|
[0860d9c] | 2 | pre2 "1234567", canary ok |
---|
| 3 | pre3a "1234567", exception occurred, canary ok |
---|
| 4 | pre3b "8", canary ok |
---|
| 5 | pre4a "1234567", exception occurred, canary ok |
---|
| 6 | pre4b "89", canary ok |
---|
[d6ad99e] | 7 | 1 yyyyyyyyyyyyyyyyyyyy |
---|
| 8 | 2 abcxxx |
---|
| 9 | 3 abcxxx |
---|
| 10 | 4 aaaaaaaa |
---|
| 11 | 5 aaaaaaaa |
---|
| 12 | 6 aabbccbb |
---|
| 13 | 7 dddwww |
---|
| 14 | 8 dddwww |
---|
| 15 | 9 dddwww |
---|
| 16 | 10 aaaaaaaa |
---|
| 17 | 11 wwwwwwww |
---|
| 18 | 12 wwwwwwww |
---|
| 19 | 13 wwwwwwww |
---|
[8cffa4f] | 20 | 14 rc=1, cccc |
---|
| 21 | 15 rc=0, q |
---|
[d6ad99e] | 22 | 1 yyyyyyyyyyyyyyyyyyyy |
---|
| 23 | 2 abcxxx |
---|
| 24 | 3 abcxxx |
---|
| 25 | 4 aaaaaaaa |
---|
| 26 | 5 aaaaaaaa |
---|
| 27 | 6 aabbccbb |
---|
| 28 | 7 dddwww |
---|
| 29 | 8 dddwww |
---|
| 30 | 9 dddwww |
---|
| 31 | 10 aaaaaaaa |
---|
| 32 | 11 wwwwwwww |
---|
| 33 | 12 wwwwwwww |
---|
| 34 | 13 wwwwwwww |
---|
[8cffa4f] | 35 | 14 cccc |
---|
[37ceccb] | 36 | 15 q |
---|
[d6ad99e] | 37 | a |
---|
| 38 | a |
---|
| 39 | -1 |
---|
| 40 | 15 |
---|
| 41 | 15 |
---|
| 42 | 15 |
---|
| 43 | 255 |
---|
| 44 | 15 |
---|
| 45 | 15 |
---|
| 46 | 15 |
---|
| 47 | 255 |
---|
| 48 | 15 |
---|
| 49 | 15 |
---|
| 50 | 15 |
---|
| 51 | 255 |
---|
| 52 | 15 |
---|
| 53 | 15 |
---|
| 54 | 15 |
---|
| 55 | 255 |
---|
| 56 | 15 |
---|
| 57 | 15 |
---|
| 58 | 15 |
---|
| 59 | 255 |
---|
| 60 | 15 |
---|
| 61 | 15 |
---|
| 62 | 15 |
---|
| 63 | 255 |
---|
| 64 | 15 |
---|
| 65 | 15 |
---|
| 66 | 15 |
---|
| 67 | 255 |
---|
| 68 | 15 |
---|
| 69 | 15 |
---|
| 70 | 15 |
---|
| 71 | 255 |
---|
| 72 | 15 |
---|
| 73 | 15 |
---|
| 74 | 15 |
---|
| 75 | 255 |
---|
| 76 | 15 |
---|
| 77 | 15 |
---|
| 78 | 15 |
---|
| 79 | 3.5 |
---|
| 80 | 345.6 |
---|
| 81 | 345.6 |
---|
| 82 | 345.6 |
---|
| 83 | 3.5 |
---|
| 84 | 345.6 |
---|
| 85 | 345.6 |
---|
| 86 | 345.6 |
---|
| 87 | 3.5 |
---|
| 88 | 345.6 |
---|
| 89 | 345.6 |
---|
| 90 | 345.6 |
---|
| 91 | 3.5+3.5i |
---|
| 92 | 345.6+345.6i |
---|
| 93 | 345.6+345.6i |
---|
| 94 | 345.6+345.6i |
---|
| 95 | 3.5+3.5i |
---|
| 96 | 345.6+345.6i |
---|
| 97 | 345.6+345.6i |
---|
| 98 | 345.6+345.6i |
---|
| 99 | 3.5+3.5i |
---|
| 100 | 345.6+345.6i |
---|
| 101 | 345.6+345.6i |
---|
| 102 | 345.6+345.6i |
---|
| 103 | 25 |
---|
| 104 | -25 |
---|
| 105 | 42798 |
---|
| 106 | 1402432282 |
---|
| 107 | 1505850196993244515 |
---|
| 108 | 394749758663249135511342 |
---|
| 109 | 12935154696204706112391834394 |
---|
| 110 | 423859149128410414395372834994551 |
---|
| 111 | 13889016598639747063234935497057631587 |
---|
| 112 | 170141183460469231731687303715884105727 |
---|
| 113 | -1 |
---|
| 114 | 1 |
---|
| 115 | -1 |
---|
| 116 | 1234567890123456789 |
---|
| 117 | -1234567890123456789 |
---|
Note: See
TracBrowser
for help on using the repository browser.