Changeset 1599
- Timestamp:
- 07/10/04 16:06:37 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r1595 r1599 22 22 PyKota NEWS : 23 23 24 - 1.19alpha31 : 25 26 - Fixed a double Python2.1 incompatibility with newer versions, 27 which prevented the PCL5 and the PCLXL parsers to work with 28 this older version of Python. 29 24 30 - 1.19alpha30 : 25 31 -
pykota/trunk/pykota/pdlanalyzer.py
r1591 r1599 22 22 # 23 23 # $Log$ 24 # Revision 1.25 2004/07/10 14:06:36 jalet 25 # Fix for Python2.1 incompatibilities 26 # 24 27 # Revision 1.24 2004/07/05 21:00:39 jalet 25 28 # Fix for number of copies for each page in PCLXL parser … … 168 171 """ 169 172 infileno = self.infile.fileno() 170 minfile = mmap.mmap(infileno, os.fstat(infileno) .st_size, access=mmap.ACCESS_READ)173 minfile = mmap.mmap(infileno, os.fstat(infileno)[6], prot=mmap.PROT_READ, flags=mmap.MAP_SHARED) 171 174 tagsends = { "&n" : "W", 172 175 "&b" : "W", … … 459 462 infileno = self.infile.fileno() 460 463 self.copies = {} 461 self.minfile = minfile = mmap.mmap(infileno, os.fstat(infileno) .st_size, access=mmap.ACCESS_READ)464 self.minfile = minfile = mmap.mmap(infileno, os.fstat(infileno)[6], prot=mmap.PROT_READ, flags=mmap.MAP_SHARED) 462 465 tags = self.tags 463 466 self.pagecount = 0 -
pykota/trunk/pykota/version.py
r1592 r1599 22 22 # 23 23 24 __version__ = "1.19alpha3 0_unofficial"24 __version__ = "1.19alpha31_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""