diff -uNr a/vtools/manifest b/vtools/manifest --- a/vtools/manifest 85d3b17315823804d142fb61459960669d05122568f6d463e0252d48d9d9c12f4a6bb9b3e92072d2123e4e66a7a84359cff24d7b6d1646972d6c844a0016e454 +++ b/vtools/manifest adb6177045ca615e1fbdaff613e0574ab8173c8ba7d8cc2ccc3df4c08a0c75d42288add35c0f3a3ae9ff376e60c1c670c22ae1574a646c66399147e630e9eab2 @@ -10,3 +10,4 @@ 547300 bvt vtools_tempfile_standalone_notmp Standalone temporary file generation code; creates temporary files in the vpatch work directory. 584341 bvt vdiff_blockwise_read Fix stack overflow in vdiff when hashing large files. 589066 bvt vtools_fixes_rootdir_files Fix creation of files in the vtree root. Fix handling of empty vpatches. +615541 bvt vtools_small_fixes Fix vdiff gprbuild and remove useless variable from ksum. diff -uNr a/vtools/src/ksum.adb b/vtools/src/ksum.adb --- a/vtools/src/ksum.adb 4a973d255432bc899fb3dfe8ab16f5a9a29578fd141dbc501083cfde8d9c42f8d037d778b5df1458b9ea86623ef675db876ef38c9792c3fdb1834f55b4fec248 +++ b/vtools/src/ksum.adb 8e8a8226998e5b74501e6ff7fb05c7ebb289a737b72d6fe90cc27d61adf25fcf52333cee743dac032353f5bec17d68b7e87891a74e4bfd5d482879a191e5489a @@ -14,7 +14,6 @@ Byte_Size: constant Natural := 8; package CIO renames Character_IO.Character_IO; - Fs: File_Size; File: CIO.File_Type; Ctx: Keccak_Context(Block_Len=>Default_Bitrate); Buf: String(1..Buffer_Size); @@ -38,7 +37,6 @@ declare Filename: String:=Argument(Arg); begin - Fs:=Size(Filename); Character_IO.Open(File, CIO.In_File, Filename); declare O: Bitstream(1..Hash_Size*Byte_Size); diff -uNr a/vtools/vdiff.gpr b/vtools/vdiff.gpr --- a/vtools/vdiff.gpr 00151d0b59944a4861dafb0d203a685f4cff45ecee80e0a45c236d0407f8c7ff9f228966787b83efd12e3e47fd4ed42c22010503d84bdf5b745baefbe52840ac +++ b/vtools/vdiff.gpr b53569ef0e9899d5df98c9122ae62d980ed91cc03e9bf94a64cdcb99c1f0b540ae29e94835a6c96779bedcb8bef46d3927ac43dc794b697d04a391db0f4ee255 @@ -4,7 +4,7 @@ for Object_Dir use "obj"; for Exec_Dir use "."; for Main use ("diff.c"); - for Excluded_Source_Files use ("vpatch.adb"); + for Excluded_Source_Files use ("vpatch.adb", "ksum.adb"); package Builder is for Executable ("diff.c") use "vdiff"; end Builder;