The old tar 'v7' format only supports file names up to 99 characters, according to the GNU tar documentation.
The check in 'tar_add_header' (tar.c) checks for "nName > 100".
The file name that gets mangled is exactly 100 chars long....

Gé



On Mon, 18 Jul 2011, Rene wrote:

On Mon, 18 Jul 2011 15:38:07 -0400, Richard Hipp wrote:
On Mon, Jul 18, 2011 at 3:32 PM, Rene  wrote:

I have converted a cvs repo to fossil.
I checked if the tag release_v5_1_0 would yield the same number of
files

as you can see from this timeline fragment it is version
186f4fdca4
       [186f4fdca4] brokerhost geintroduceert

* Upd mxflex/gbo/app_po.inc: 1.39
* Upd mxflex/gbo/app_bo.inc: 1.36 (user: renez, tags: trunk,
release_v5_1_0)

    mxflex/gbo/app_bo.inc   [diff]
    mxflex/gbo/app_po.inc   [diff]

The tar file contains 2 directories
  mxflex-186f4fdca41c087b(has 991 files)
 xflex-186f4fdca41c087b(has 2
files)
while the zip file contains only one directory
  mxflex-186f4fdca41c087b(has 993 files)

The tar file doesn't produce the release while the zip does.

Perhaps the long filename support in tarball generator is busted. 
Do the two files that differ have very long pathnames?  Are they the
longest two pathnames in the repository?
  

--
Rene
_______________________________________________
fossil-users mailing list
[email protected] [1]



http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[2]

xflex-186f4fdca41c087b has xflex-186f4fdca41c087b/mxflex/xbr_bus/general/gui/smarty/internals/core.assemble_plugin_filepath.php mxflex-186f4fdca41c087b has mxflex-186f4fdca41c087b/mxflex/xbr_bus/general/gui/smarty/internals/core.process_cached_inserts.php
which is 1 shorter.

If I do a tar bal from the head i get this in the top directory
22b79fe24110d d22b79fe24110d -ffd22b79fe24110d x-ffd22b79fe24110d 2b79fe24110d ex-ffd22b79fe24110d flex-ffd22b79fe24110d xflex-ffd22b79fe24110d
79fe24110d     fd22b79fe24110d      lex-ffd22b79fe24110d
b79fe24110d    ffd22b79fe24110d     mxflex-ffd22b79fe24110d

while the zip just produces mxflex-ffd22b79fe24110d

It seems how closer I come to the latest the more directories the tarbal creates.

It must be something specific for this repo because if I do a tarball from my local copy of fossil (hence the same version) I don't see multiple directories.

--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to