about summary refs log tree commit diff stats
path: root/src/profanity.h
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2012-11-18 01:51:01 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2012-11-18 01:51:01 +0200
commitcf3d50f855a0ce3adf24d05121bc4c4b5c1910dc (patch)
tree883c150313aea30313d8293f341b462cbee94043 /src/profanity.h
parent2fe5e7bd5914c3062e8f914492e4e745ab6b9a15 (diff)
downloadprofani-tty-cf3d50f855a0ce3adf24d05121bc4c4b5c1910dc.tar.gz
command.c: replace strndup with strdup
Function strndup conforms to POSIX.1-2008 and MacOS doesn't have it.
strndup doesn't make sense when a string is copied to the end. So
replacing fixes incompatibility with MacOS and doesn't influence to
execution.
Diffstat (limited to 'src/profanity.h')
0 files changed, 0 insertions, 0 deletions