• Show log

    Commit

  • Hash : b762e576
    Author : Russell Belfer
    Date : 2011-11-17T15:10:27

    filebuf: add GIT_FILEBUF_INIT and protect multiple opens and cleanups
    
    Update all stack allocations of git_filebuf to use GIT_FILEBUF_INIT
    and make git_filebuf_open and git_filebuf_cleanup safe to be called
    multiple times on the same buffer.
    
    Signed-off-by: Vicent Marti <tanoku@gmail.com>