Pavol Rusnak
e97c1de936
add more checks when working with mmap.mmap
2009-05-22 14:43:39 +00:00
Pavol Rusnak
0fa507a782
mmap.mmap works differently under windows
2009-05-20 16:42:17 +00:00
Michal Cihar
885c72af77
Fix syntax errors with Python 2.4 (bnc#500968).
2009-05-05 14:07:00 +00:00
Marcus Hüwe
9d97bcb56d
- minor fix
2009-03-19 18:25:59 +00:00
Marcus Hüwe
6bf55c5415
- forgot the usual license stuff...
2009-03-19 13:58:04 +00:00
Marcus Hüwe
ab3403380f
- added cpio archive reader. Supported formats:
...
* ascii SVR4 no CRC also called "new_ascii"
- no directory/PIPE/blk etc. support atm. Some of it might be implemented later in case I'm bored:)
- format implementation is based on src/copyin.c and src/util.c (see cpio sources)
- it is needed to investigate #477690 ("osc fetching binaries really slow")
2009-03-19 13:52:00 +00:00
Marcus Hüwe
5d27d74ee4
- added __str__() method to the ArFile class
...
- when rereading a file setup the 'datastructs' again
2009-03-09 11:17:44 +00:00
Marcus Hüwe
2da0f1b737
- added docstring
2009-03-05 02:06:26 +00:00
Marcus Hüwe
141845c324
- added __iter__() method to iterate over an Ar object
2009-03-05 02:00:56 +00:00
Marcus Hüwe
3330cd012c
- added licensing information
2009-03-04 22:56:24 +00:00
Marcus Hüwe
3b08741a80
- added ar module: this can be used to read ar archives. This will be used later to extract files from a debian package which uses this format. Currently we only support the GNU format (note: maybe something is still missing but it's sufficient for our needs)
2009-03-04 22:15:11 +00:00