Bug 73180 - We now put a notice at the top of the versioncache file saying that it should not be edited.

Patch by Matthew Tuck <matty@chariot.net.au>
r= gerv@mozilla.org, jake@acutex.net
This commit is contained in:
jake%acutex.net 2001-10-19 23:49:37 +00:00
Родитель fdb1639fd6
Коммит b6e9432e59
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -528,6 +528,13 @@ sub GenerateVersionTable {
my $tmpname = "data/versioncache.$$";
open(FID, ">$tmpname") || die "Can't create $tmpname";
print FID "#\n";
print FID "# DO NOT EDIT!\n";
print FID "# This file is automatically generated at least once every\n";
print FID "# hour by the GenerateVersionTable() sub in globals.pl.\n";
print FID "# Any changes you make will be overwritten.\n";
print FID "#\n";
print FID GenerateCode('@::log_columns');
print FID GenerateCode('%::versions');