Attention is currently required from: Thomas Heijligen, Name of user not set #1004601.
1 comment:
File serial.c:
Patch Set #4, Line 78: #if !IS_DARWIN
why guard the higher boudrates additionally for darwin? When looking at https://opensource.apple. […]
I understand that this can feel redundant.
I added the explicit guard to make sure that higher baudrates will always use the custom ioctl, because the kernel will probably never support them even if the defines are added some time.
I was considering a later patch to have a single common implementation of use_custom_baud() but I removed that from this patch series.
If the explicit guard in serial.c is a no-go then I'd add the condition to custom_baud_darwin.c:use_custom_baud() instead, moving away from the possibility to have one common use_custom_baud() across platforms.
Is that preferable? I'm fine either way. Please advise.
To view, visit change 70571. To unsubscribe, or for help writing mail filters, visit settings.