aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeus Panchenko <zeus@camb.us>2006-06-14 20:40:20 +0000
committerZeus Panchenko <zeus@camb.us>2006-06-14 20:40:20 +0000
commit8beb4e38e88edaf121e907ff1659b806e4150dff (patch)
treef69bc4b18e12b13de1686541f160fa8b0af74eff
parent919a67785072cbbc1dab06550f2bfe6b3b6ca1dc (diff)
downloadrenrot-8beb4e38e88edaf121e907ff1659b806e4150dff.tar.gz
renrot-8beb4e38e88edaf121e907ff1659b806e4150dff.tar.bz2
in renameFile(), $newname look changed on opposite in case of it's existance.
git-svn-id: file:///svnroot/renrot/trunk@210 fe2816f4-e837-0410-b10a-f608c9d244a1
-rw-r--r--ChangeLog4
-rwxr-xr-xrenrot2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index add0722..10520ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
$Log$
+Revision 1.135 2006/06/14 20:40:19 zeus
+in renameFile(), $newname look changed on opposite in case of it's existance.
+
Revision 1.134 2006/06/12 08:03:01 andy
Release as 0.21.
@@ -542,3 +545,4 @@ Id keyword is added to renrot file.
Revision 1.1 2005/10/17 13:39:38 zeus
ChangeLog file is added. Its the very begining.
+
diff --git a/renrot b/renrot
index 7a19e80..8d641bf 100755
--- a/renrot
+++ b/renrot
@@ -741,7 +741,7 @@ sub renameFile {
$newFileName .= $ext;
if ($filenameshash{$newFileName}) {
- $newFileName .= "." . sprintf($counterSize, $fileCounter);
+ $newFileName = sprintf($counterSize, $fileCounter) . "." . $newFileName;
}
$filenameshash{$newFileName} = $unixTime;

Return to:

Send suggestions and report system problems to the System administrator.