]> git.cameronkatri.com Git - cgit.git/commit
ui-tree: remove a fixed size buffer
authorJohn Keeping <john@keeping.me.uk>
Sat, 13 Aug 2016 10:54:46 +0000 (11:54 +0100)
committerJohn Keeping <john@keeping.me.uk>
Sat, 1 Oct 2016 10:46:55 +0000 (11:46 +0100)
commite18a85b6a298feef88da8085ef16fd20ce971071
tree617a64efc192421222549ffe7ae522f5959c9ec5
parentf80b73fa20d5c884114b971a20e1b4bb847e054e
ui-tree: remove a fixed size buffer

As libgit.a moves away from using fixed size buffers, there is no
guarantee that PATH_MAX is sufficient for all of the paths in a Git
tree, so we should use a dynamically sized buffer here.

Coverity-Id: 141884
Signed-off-by: John Keeping <john@keeping.me.uk>
ui-tree.c