hi,

this regards plan 9 port.

with a very simple mkfile, $prereq and $newprereq get truncated at slightly 
below 16*1024 characters.

essence of the mkfile:

allfiles=`{find -name '*.c'}
foo:VQ: $allfiles
        echo $newprereq
#       (alternatively: echo $prereq)



it seems to me formatted output library (fmt) is to blame, perhaps around the 
twisted code of counting formatted characters. poking in mk internals, down in 
dorecipe() i've stumbled upon a debug print():

print("lt=%s ln=%s lp=%s\n",wtos(head.next, ' '),wtos(ln.next, ' 
'),wtos(lp.next, ' '));

which (when un-commented) also prints truncated dump of the variable.

one clue i got so far is that adding a small print() after it fixes the output 
*from the debug print*:
print("\n");

any help or hints please?


regards,
-- 
dexen deVries

[[[↓][→]]]

For example, if the first thing in the file is:
   <?kzy irefvba="1.0" rapbqvat="ebg13"?>
an XML parser will recognize that the document is stored in the traditional 
ROT13 encoding.

(( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))

Reply via email to