diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-08-27 00:20:48 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-26 14:37:28 -0700 |
commit | 9d1057469485739c9a2563cf7c88fd2debc1e730 (patch) | |
tree | 806fc9683c221a2af737bacdd9c0e976b1d78872 /parse-xml.c | |
parent | 642c83f5327317780a0f10b3ab46f6c1bd8bb202 (diff) | |
download | subsurface-9d1057469485739c9a2563cf7c88fd2debc1e730.tar.gz |
replaced stdndup() with the inlined equivalent
don't kill the OS incompatibility messenger.
1)
http://stackoverflow.com/questions/6062822/whats-wrong-with-strndup
stdndup() is POSIX 2008, but apparently not available on OSX and Windows
it could be made potentially application global (e.g. a local "stdndup.h")
2)
free() memory at pointer "current_dir", once we are done.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'parse-xml.c')
0 files changed, 0 insertions, 0 deletions