https://github.com/geodynamics/citcoms
Revision e195f6d43c859a52b139fe06a7f404382a9cbd38 authored by Leif Strand on 28 November 2006, 07:33:41 UTC, committed by Leif Strand on 28 November 2006, 07:33:41 UTC
1) avoid potential buffer overflow; 2) avoid the use of non-standard strndup(); 3) avoid the use of the heap altogether. (Prompted by unresolved strndup on Mac OS X.)
1 parent 6da3152
Tip revision: e195f6d43c859a52b139fe06a7f404382a9cbd38 authored by Leif Strand on 28 November 2006, 07:33:41 UTC
Rewrote expand_str() in order to:
Rewrote expand_str() in order to:
Tip revision: e195f6d
File | Mode | Size |
---|---|---|
Cookbook1 | ||
Cookbook2 | ||
Cookbook3 | ||
Cookbook4 | ||
Cookbook5 | ||
Cookbook6 | ||
Full | ||
Regional | ||
Makefile.am | -rw-r--r-- | 6.7 KB |
example0.cfg | -rw-r--r-- | 191 bytes |
example1.cfg | -rw-r--r-- | 193 bytes |
Computing file changes ...