I'm glad to see that my silly compiling error has proven useful in an 
unintended way. :-)

@jyapayne, I was adding in my other logic but I noticed some lines were 
missing. I went back to the minimal example and echoed the line right inside 
the for loop. It prints the first header line ('##fileformat=VCFv4.2'), but 
then the rest of the header lines are missing. I was going through readLine, 
and it looks like `c_memchr` isn't finding the linefeeds (`\L`) for each line, 
unless I'm misunderstanding. The first time through it goes to the end of the 
first line, but the second time it doesn't find the next `\L` for >200k chars. 
I tried following the code with LLDB, but I was having a hard time working with 
LLDB

Am I mistaken? Really appreciate your help.

Reply via email to