apply, seq, libcommon: Improvements to the code internals#76
apply, seq, libcommon: Improvements to the code internals#76takusuman wants to merge 63 commits into
Conversation
Also made it faster per replacing sprintf() calls with sputchar() from strmenta.h/sputs.h.
…ply.c. At the cost of some CPU cycles, of course.
I haven't tested this yet since I'm doing my groceries at this precise moment.
free(cmdl) for every return by buildcmd().
The comportment remains.
"char *argv[]" -> "char *const argv[]".
Use pfmt(3) instead of printf(3) because it treats the non-literal string properly and doesn't create warnings. When using MM_NOSTD, it comports just like printf(3). PERHAPS it could be better to use vprintf(3) instead.
Now using "& MM_NOGET" so pfmt(3) comports just like printf(3).
Now using "^ MM_NOGET" so pfmt(3) comports just like printf(3).
Also sneakly add back the 'static's for global variables.
I don't even compile what I code, the environment isn't working very well here. |
Check your
Does it make a huge difference? This will be all squashed into a single commit later. |
Why are you squashing PRs? |
Often a ton of commits that do one thing. |
|
@arthurbacci Let's go, last release of the year. |
Also sneakly add parenthesis to a multiplication in a function call, so we can start creating consistent rules of style.
@arthurbacci Perhaps I could say sorry for the parenthesis at index + (number - 1).
|
@arthurbacci Also removed the ch = cmd[c] thing. |
Better late than never.
|
I think we would also need to do some fixes at
I think the first is not the case since the |
|
Added a |
I hope my cellphone's digital keyboard hasn't garbled a thing.
Closes #75.