#include <hallo.h> * Eddy Petrișor [Sun, Feb 18 2007, 01:48:04PM]: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > S. Wefel wrote: > >> Package: svn-buildpackage > >> Version: 0.6.16 > >> Severity: important > > > > I suggest the attached patch to avoid the inclusion auf symbolic links > > in the dirlist during the copy operation of svn-buildpackage. > > Symbolic links to a directory are preserved. > > This is in an attempt to prevent copying in loops? Or what is the > reason behind this?
No, that's ok and he is right. Unlike stat results, Perl's file state checks do resolve the symlinks so -d returns true if the symlink has a directory target. But we want to treat symlinks like files and just copy them over like other files. Otherwise a real directory can (and most likely will) be created instead of the symlink. Eduard. -- Neue Viren: Behörden Virus: Dieser Virus gibt auf Ihrem Drucker unendlich viele Formulare aus. Dieser Virus arbeitet sehr langsam.