Plan 9 from Bell Labs’s /n/sources/patch/applied/cpp-buffer/readme

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


there's a buffer size problem that is very rarely hit by any normal
programs but appears when compiling some of the nuttier lunix code.

solution: if a line of code is longer than the default buffer size
(30k) then we realloc the buffer.

this isn't currently triggered by any plan9 code and will hopefully
never be.

for an example of what could happen in loonix-land see this gcc-parsed
code:

http://pages.cpsc.ucalgary.ca/~mirtchov/screenshots/ffmpeg.gif

andrey

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.