Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Sergey Kandaurov
On 1 April 2011 18:50, Warner Losh wrote: > On Apr 1, 2011, at 5:40 AM, Sergey Kandaurov wrote: >> >>                        if (++tempstr >= &tstr[5]) >> >>    >> BTW, >> this game with pointers might prevent devstat(3) from work on big-endian. > > I'm very curious

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Warner Losh
On Apr 1, 2011, at 5:40 AM, Sergey Kandaurov wrote: >>if (++tempstr >= &tstr[5]) > > BTW, > this game with pointers might prevent devstat(3) from work on big-endian. I'm very curious about your reasoning here. Warner __

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Alexander Best
On Fri Apr 1 11, Sergey Kandaurov wrote: > On 1 April 2011 01:03, Alexander Best wrote: > > hi there, > > > > devstat_buildmatch(3) crashes with certain strings. you can test this by > > doing one of: > > > > iostat -t "," > > iostat -t ",," > > iostat -t "da," > > iostat -t ",da," > > iostat -t

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Sergey Kandaurov
On 1 April 2011 15:37, Sergey Kandaurov wrote: > On 1 April 2011 01:03, Alexander Best wrote: >> hi there, >> >> devstat_buildmatch(3) crashes with certain strings. you can test this by >> doing one of: >> >> iostat -t "," >> iostat -t ",," >> iostat -t "da," >> iostat -t ",da," >> iostat -t ",da

Re: issue with devstat_buildmatch(3) and certain strings

2011-04-01 Thread Sergey Kandaurov
On 1 April 2011 01:03, Alexander Best wrote: > hi there, > > devstat_buildmatch(3) crashes with certain strings. you can test this by > doing one of: > > iostat -t "," > iostat -t ",," > iostat -t "da," > iostat -t ",da," > iostat -t ",da" > iostat -t "da,scsi," > iostat -t ",da,scsi" > iostat -t