Hi Dave,

> I'd prefer the shorter hack mostly because I don't want it to have to
> malloc the extra strings just to get around the const 
> limitations.

The current code does the malloc and copy (strdup) as well (and a good thing
too, otherwise I'd have to make the copy outside unsafe_symlink(), and my
change wouldn't be quite so simple). Since the pointers weren't const, it
previously was able to point them at the copies. with my change it just uses
a new local variable.

> Once
> you make that change and send it to me, I'll submit your change to
> --copy-unsafe-links.

OK, I'll make this change with the --delete statistics change, so I only
have to check it all out once.

Regards,
Tim.

==============================  cut here  ==============================
Tim Adye, BaBar/DELPHI Groups, Particle Physics Dept.,     _   /|
          Rutherford Appleton Laboratory, UK.              \'o.O'   Oop!
e-mail:   [EMAIL PROTECTED] or VXCERN::ADYE (HEPNET/SPAN)  =(___)=  Ack!
WWW:      http://hepwww.rl.ac.uk/Delphi/Adye/homepage.html    U  Thphft!

Reply via email to