[Labs-l] [tools] New version of take

Tim Landscheidt tim at tim-landscheidt.de
Mon Jun 24 14:01:47 UTC 2013


Petr Bena <benapetr at gmail.com> wrote:

> because you have only 3 files and no folders, try it on something more
> complicated...

> [...]

The error occurs when a directory precedes a file in the ar-
gument list (or in any directory that we recurse into).  In
that case, we fchdir() to the directory (line #130), but
don't fchdir() back after recursion, so subsequently we can-
not find the other files.  Filed
https://bugzilla.wikimedia.org/50097 for tracking.

Tim




More information about the Labs-l mailing list