commit | 76b8031bce288a4052cea5e9fb7cfb7ccde9ca3e | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Tue Dec 20 12:04:21 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Tue Dec 20 12:04:21 2011 -0200 |
tree | d0a52a02f2210bd51a88fffd42ec0870ad79463d | |
parent | 51c409b449a82283515e7c3fa5a4a0e2f23807fe [diff] |
elf: fix regression with empty strings Commit "b20dc17 Remove unneeded reference to last string" reverted the fix in "47a0ef6 elf: do not output empty strings." and empty strings are appearing again in kmod-modinfo. With this commit we do a bit different and instead of keeping the reference to last string we skip the '\0' inside the loop.