]> git.ipfire.org Git - thirdparty/tar.git/commit
wordsplit_get_words need not fail
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Aug 2024 22:45:53 +0000 (15:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2024 08:41:43 +0000 (01:41 -0700)
commit5182462cf1755ebc3d1d589c0cced37ad92ca528
tree4d2d1b6b155ba0b12c0673c8187dbfdc723b1f8c
parent0ab451a420bcdabb35b8dd3fd461fa540ff16309
wordsplit_get_words need not fail

* lib/wordsplit.c (wordsplit_get_words):
Do not fail merely because realloc fails.
Return void, since failure is no longer possible.
lib/wordsplit.c
lib/wordsplit.h