Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: rename files

by Fletch (Chancellor)
on Aug 08, 2005 at 13:48 UTC ( #481879=note: print w/ replies, xml ) Need Help??

in reply to Re: rename files
in thread rename files

Probably not since, aside from not checking the return status from rename, the pathnames still aren't being adjusted relative to the base directory they passed opendir.

We're looking for people in ATL

Comment on Re^2: rename files
Select or Download Code
Replies are listed 'Best First'.
Re^3: rename files
by SimonClinch (Chaplain) on Aug 08, 2005 at 15:04 UTC
    The proof of this (probably accurate) issue could also be being hidden if '/temp_gif' is not a valid mountpoint -- it seems rather plausible, though not yet proven, that './temp_gif' is what was wanted.

    One world, one people

      Erm, since they actually did remember to put error checking on the opendir call that would catch that case.

      We're looking for people in ATL

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://481879]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2016-02-11 06:46 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (361 votes), past polls