Prashant Rahul commented on a discussion: 
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/74#note_136122


Yes, it does create both C and H files with single command invocation when 
neither `-C` nor `-H` is provided. Since default values are `true`, see here: 
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/blob/main/misc/bin2c/rtems-bin2c.c?ref_type=heads#L35

And when either one of the flag is given, it creates only that specific file.

Issue arrives when both flags are given, in the original script it simply boils 
down to which flag comes later due to the logic that handles argument parsing, 
see here: 
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/blob/main/misc/bin2c/rtems-bin2c.c?ref_type=heads#L396

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/74#note_136122
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

Reply via email to