Imagine a zip file with the following directories:

a

ab

abc

abcd



Now, if the system support a filename length of 4, we get 4 different 
directories.



But if the system only support a filename length of 2, we get 2 different 
directories:

a

ab



in a we have a,

in ab, we have combined the content of directories ab, abc and abcd



And it is ok as long as there is no file conflcts in ab, abc and abcd.



The package dj_gpp rely on  this trick:



I have got:

[paul@nixos:~/Documents/fdtest2]$ zip -k -r ../dj_gpp.zip dj_gpp/DEVEL 
dj_gpp/APPINFO

    zip warning:   first full name: 
dj_gpp/DEVEL/DJGPP/include/cxx/12/ext/pb_ds/detail/binomial_heap_/

                      second full name: 
dj_gpp/DEVEL/DJGPP/include/cxx/12/ext/pb_ds/detail/binomial_heap_base_/

                     name in zip file repeated: 
DJ_GPP/DEVEL/DJGPP/INCLUDE/CXX/12/EXT/PB_DS/DETAIL/BINOMIAL/



zip error: Invalid command arguments (cannot repeat names in zip file)



[paul@nixos:~/Documents/fdtest2]$ 



So... zip is too prudent, and won't accept to combine the directories.

It's probably ok... because fdnpkg probably won't too.



I would need fdpkg to accept to combine the directories... for the day someone 
will modify fdnpkg to accept to do is (if it don't).



But if you don't see dj_gpp inside FDT2210... you will have an idea why.
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to