Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1713

svn_filesize_t is unsigned

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.0-consider
    • Component/s: src
    • Labels:
      None

      Description

      It's unsigned which has two problems with that:
      
      a) We're using -1 as SVN_FILESIZE_INVALID.
      
      b) We have larger filesizes than any current platform can actually support.  So
      it implies we can support larger files than we really can.
      
      Patch is all of two lines.  It's pretty simple.
      

        Attachments

        1. 1_svn-filesize.patch
          0.8 kB
          Ben Reser

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              breser Ben Reser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: