Chris Johns commented on a discussion on bsps/powerpc/shared/start/motload-gev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152701 > + size_t v = 0; > + memset(var, 0, var_len); > + while (g < gev_len) { > + switch (state) { > + case 's': > + /* Search for the start of the name */ > + if (gev[g] == '\0') { > + return -1; > + } > + if (gev[g] != name[0]) { > + ++g; > + break; > + } > + state = 'n'; > + n = 0; > + /* fallthru */ Sure. By the way that macro is broken. You cannot add a comment to a define like it has so the last case needs to be a `#error`. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152701 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
