Opened 11 years ago

Last modified 4 years ago

#133 new defect

mr_strtok doesn't always give the same result

Reported by: bruno Owned by: andree
Priority: normal Milestone:
Component: mondo Version: 2.2.1
Severity: normal Keywords:
Cc: andree@…

Description

Multiple run of the same test-string program do not give the same result:

140 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
141 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md|, lastpos=3
token=|active|, lastpos=13
token=|raid1|, lastpos=19
token=|hda1[|, lastpos=26
token=|]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
142 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
143 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
144 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
145 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
146 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|activ|, lastpos=12
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
147 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
148 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
149 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda12[3]|, lastpos=37
token=|hda6[2]|, lastpos=45
token=|hda5[1]|, lastpos=53
150 victoria2.home.musique-ancienne.org-bruno ~/mondo/svn/branches/stable/mondo/src/test > ./test-string
string=|md0 : active raid10 hda1[0] hda12[3] hda6[2] hda5[1]
|
token=|md0|, lastpos=4
token=|active|, lastpos=13
token=|raid10|, lastpos=20
token=|hda1[0]|, lastpos=28
token=|hda1|, lastpos=33
token=|[3]|, lastpos=37
token=|hda6[|, lastpos=43
token=|]|, lastpos=45
token=|hda5[1]|, lastpos=53

Change History (10)

comment:1 Changed 10 years ago by bruno

  • Milestone changed from 2.2.2 to 2.2.3

comment:2 Changed 10 years ago by bruno

  • Milestone changed from 2.2.3 to 2.2.4

comment:3 Changed 10 years ago by bruno

  • Cc andree@… added

comment:4 Changed 10 years ago by bruno

  • Milestone changed from 2.2.4 to 2.2.5

comment:5 Changed 10 years ago by bruno

  • Milestone changed from 2.2.5 to 2.2.6

comment:6 Changed 9 years ago by bruno

  • Milestone changed from 2.2.6 to 2.2.7

comment:7 Changed 9 years ago by bruno

  • Milestone changed from 2.2.7 to 2.2.8

comment:8 Changed 9 years ago by bruno

  • Milestone changed from 2.2.8 to 2.2.9

comment:9 Changed 8 years ago by bruno

  • Milestone changed from 2.2.9 to 2.2.10

comment:10 Changed 4 years ago by bruno

  • Milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.