Updates to some BURT related functions in the EPICS sequencer.
- Apr 18, 2022
-
-
Jonathan Hanks authored
-
- Apr 15, 2022
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
-
Jonathan Hanks authored
* Remove the possibility to have variable string lengths passed in. * Work with an out parameter that knows its size and can assert it to the caller.
-
Jonathan Hanks authored
-
Jonathan Hanks authored
* Adjust function to not modify its input (const safe) * Switch append operation to direct assignment instead of strncat which was overflowing the destination buffers due to improper usage. * could do a bsd style strlcat, but we explicitly check the length right above it.
-
Jonathan Hanks authored
* Fix how lines with leading quotes are handled, they are treated as quotes, not as normal characters now. * Properly terminate a long quoted string that would overflow an output. * Note this is not complete, it still writes one character past where it should.
-
Jonathan Hanks authored
* Change the data type union to use a fixed_string<64> instead of char[64]. * With accompanying simplifications around string assignment.
-
Jonathan Hanks authored
* Minor format change. * Replaced a std::string with a fixed_string
-
Jonathan Hanks authored
* Identifying current behavior and issues prior to improvement.
-
Jonathan Hanks authored
* Remove plain char arrays from writeTable2File, replace with fixed_string. * Rework encodeBURTString to take fixed_string inputs * Update it to have no failure cases. This is done by replacing pointers with references and putting compile time checks in on input lengths. * Put encodeBURTString under test. * Minor updates to fixed_string to introduce begin()/end() for range for loop support and empty() to clarify code.
-
Jonathan Hanks authored
-