]> git.saurik.com Git - apt.git/commit
Lift the 1024-character limit on configuration file lines.
authorDaniel Burrows <Daniel_Burrows@alumni.brown.edu>
Wed, 2 Apr 2008 03:30:58 +0000 (20:30 -0700)
committerDaniel Burrows <Daniel_Burrows@alumni.brown.edu>
Wed, 2 Apr 2008 03:30:58 +0000 (20:30 -0700)
commit3f807f6c39dd6056fca04264ae896990a83c7244
tree27f2fb07d5f17145c948bcae15ebfcc1f110714d
parent435704925edae0801103eb12b9f2bbce89d74769
Lift the 1024-character limit on configuration file lines.
To do this, I changed the configuration parser so that instead of reading
the line into a buffer and munging it in-place, it builds a string
containing the current line (via successive getline() calls) and then
walks down that string.  Instead of skipping comments and whitespace by
erasing them from the buffer, the new code just skips over them.
apt-pkg/contrib/configuration.cc