From: John T. <ta...@us...> - 2001-03-28 06:36:34
|
Update of /cvsroot/twiki/twiki/lib/TWiki In directory usw-pr-cvs1:/tmp/cvs-serv28448/lib/TWiki Modified Files: Store.pm Log Message: Corrected mistake on lock filename Index: Store.pm =================================================================== RCS file: /cvsroot/twiki/twiki/lib/TWiki/Store.pm,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** Store.pm 2001/03/27 21:44:56 1.13 --- Store.pm 2001/03/28 06:36:30 1.14 *************** *** 62,65 **** --- 62,68 ---- } + + # FIXME this is too messy and $extension should be replaced with type e.g. DATA, + # HISTORY, LOCK etc my $file = ""; if( ! $attachment ) { *************** *** 67,71 **** $extension = ".txt"; } else { ! $extension = ".txt$extension"; } $file = "$TWiki::dataDir/$web/$topic$extension"; --- 70,76 ---- $extension = ".txt"; } else { ! if( $extension eq ",v" ) { ! $extension = ".txt$extension"; ! } } $file = "$TWiki::dataDir/$web/$topic$extension"; |