Github user pbchou commented on the pull request: https://github.com/apache/trafficserver/pull/571#issuecomment-219485292 I can only speak for Linux. However, it should be noted that if you grep for 'optind = 0' under plugins/ there are around ten other plugins already using optind = 0 and none appear to have used ifdefs within close proximity (I used egrep -B5). I would recommend to first fix the four plugins covered by this patch since if there are cross-platform issues then that would require a much wider change that could then be applied uniformly across all 14 plugins.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---