Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#22 Relapce string functions part duex

closed-fixed
Felipe Bergo
None
5
2007-01-20
2007-01-20
Anonymous
No

This patch replaces most uses of sprintf with snprintf. I've also added a truncutation check to Global::ensureDirectories (global.cc) and to zifstream::copen (util.cc).

Discussion

  • Replace most uses of sprintf with snprintf

     
    Attachments
  • Felipe Bergo
    Felipe Bergo
    2007-01-20

    Logged In: YES
    user_id=23863
    Originator: NO

    Applied, and fixed additional sprintf's not included in the patch.

    using /bin/gzip instead of gzip doesn't work on FreeBSD (gzip is in /usr/bin), not applied.

     
  • Felipe Bergo
    Felipe Bergo
    2007-01-20

    • assigned_to: nobody --> bergo
    • status: open --> closed-fixed