From 3395f95b64ed4e9f959c62689aeb27df3bf5f486 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Mon, 25 Sep 2000 00:11:03 +0000 Subject: [PATCH] Unlink file before rename() ing it. Fixes OS/2 bustage. r=mkaply Bug 51857 --- config/aboutime.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/config/aboutime.pl b/config/aboutime.pl index 4459d6fded6..dc9b0d1d68e 100755 --- a/config/aboutime.pl +++ b/config/aboutime.pl @@ -26,4 +26,5 @@ $id = $_; close INFILE; close OUTFILE; +unlink $ARGV[0]; rename "$ARGV[0].old", "$ARGV[0]";