note
idsfa
<p>You are using <c>readdir()</c> to iterate over all of the files in the directory, but <i>adding files to the directory</i> inside of your loop. Remember that <c>g(un)zip</c> creates a new file to receive the output of the (de)compression. This is why things appear to be getting processed twice.</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-195379">
<hr/>
<I>The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon</I>
</div></div>
588386
588396