RTEMS Tools | Improve event record handling (!36)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Fri Nov 8 00:25:19 UTC 2024
Sebastian Huber commented on a discussion on trace/record/record-filter-log.cc: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/36#note_114525
> + return Error("unexpected begin of records marker", buf, in);
> + }
> + } else if (*in == *ss) {
> + ++ss;
> + } else {
> + ss = kBeginOfRecords;
> + }
> +
> + --m;
> + b = in;
> + break;
> + case kExpectBase64Begin:
> + if (*ss == '\0') {
> + s = kBase64Decoding;
> + ss = kEndOfRecordsBase64;
> + client_.AddFilter(new Base64Filter());
I program in C++ once in a year. There are probably plenty of opportunities to turn this into a real C++ code, but is this really necessary?
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/36#note_114525
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241108/f2792290/attachment-0001.htm>
More information about the bugs
mailing list