On Sat, Aug 10, 2013 at 8:45 AM, ribao wei <[email protected]> wrote: > Hi, > > I just encounter this and not sure whether it is a bug in zlib module. > > echo "1" > 1.txt > echo "2" > 2.txt > gzip 1.txt > gzip 2.txt > cat 1.txt.gz 2.txt.gz > 3.txt.gz > > Now, > > gunzip 3.txt.gz > > prints: > 1 > 2 > > > However, > > zlib.gunzip(fs.writeReadSync("c.gz"), function (err, buffer) { > > console.log(buffer.toString()); > > }); > > prints: > > 1 > > (empty line) > > > Am I missing something? > > > Thanks, > > Wei
That's a bug. If you open an issue, we'll look into it. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
