mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
13 lines
687 B
Text
13 lines
687 B
Text
--- dbf/_index.py.orig 2022-03-15 19:06:56 UTC
|
|
+++ dbf/_index.py
|
|
@@ -9,8 +9,8 @@ class IndexFile(object):
|
|
filename += '.pdx'
|
|
if not os.path.exists(filename):
|
|
self.index_file = open(filename, 'r+b')
|
|
- self.index_file.write('\xea\xaf\x37\xbf' # signature
|
|
- '\x00'*8 # two non-existant lists
|
|
+ self.index_file.write('\xea\xaf\x37\xbf', # signature
|
|
+ '\x00'*8, # two non-existant lists
|
|
'\x00'*500) # and no indices
|
|
return
|
|
index_file = self.index_file = open(filename, 'r+b')
|