Strip trailing whitespace from configs - #48
Conversation
|
This doesn't address the case when there are extra non-whitespace characters after the space. |
|
taking a look... |
|
Sorry I don't understand. If there are extra non-whitespace characters after the space, then the whitespace should NOT be removed, right? And this code should NOT remove that whitespace to my understanding. |
|
Testing this on the board with mZ and side panels. Change works here Previously, errors were seen when we had a space here https://asof.atl.calpoly.edu/fsw/z-panel-driver/-/commit/4072f06b08b7e8afdc9741048d6d423a46555755 Now with libproc library copied over: |
|
Sorry, I read the change out of context last time. I agree this will also ignore trailing spaces on a line as written. Since we are changing behavior should we use isspace() instead to also catch horizontal tab, vertical tab, and page break? |
|
Yeah I can agree with that |


No description provided.