|
|
|
|
|
by souprock
2032 days ago
|
|
There is also the mangle-use-repair choice. I've done that with pathnames for creating nested directories. C programmers are expected to make the best choice based on the situation. The various choices trade off memory usage, CPU usage, source code readability, and program correctness. |
|
Which is problematic for thread safety and depending on the source of the string (constant) may not be possible.