svnno****@sourc*****
svnno****@sourc*****
2008年 1月 24日 (木) 12:45:32 JST
Revision: 461 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=461 Author: tach Date: 2008-01-24 12:45:32 +0900 (Thu, 24 Jan 2008) Log Message: ----------- * Fix: Use of uninitialized value at /usr/lib/perl5/Slash/Utility/Display.pm line 549. Modified Paths: -------------- slashjp/trunk/Slash/Utility/Display/Display.pm slashjp/trunk/debian/changelog -------------- next part -------------- Modified: slashjp/trunk/Slash/Utility/Display/Display.pm =================================================================== --- slashjp/trunk/Slash/Utility/Display/Display.pm 2008-01-23 09:25:09 UTC (rev 460) +++ slashjp/trunk/Slash/Utility/Display/Display.pm 2008-01-24 03:45:32 UTC (rev 461) @@ -545,8 +545,9 @@ # but we would need to `mv articles mainpage`, or ln -s, and it just seems better # to me to keep the same URL scheme if possible my $skinname = $skin->{name} eq 'mainpage' ? 'articles' : $skin->{name}; + my $sid = defined($story_link->{sid}) ? $story_link->{sid} : $story_ref->{sid}; $url .= "/$skinname" unless ($url =~ /\/${skinname}$/); - $url .= "/" . ($story_link->{sid} || $story_ref->{sid}) . ".shtml"; + $url .= "/" . $sid . ".shtml"; # manually add the tid(s), if wanted if ($constants->{tids_in_urls} && $params{tids}) { $url .= '?'; Modified: slashjp/trunk/debian/changelog =================================================================== --- slashjp/trunk/debian/changelog 2008-01-23 09:25:09 UTC (rev 460) +++ slashjp/trunk/debian/changelog 2008-01-24 03:45:32 UTC (rev 461) @@ -3,8 +3,10 @@ * Exit init.d script when slashd daemon does not exist * Change to delete neverdisplay stories from story_dirty * Change to delete nonexistent stories from story_dirty + * Fix: Use of uninitialized value at + /usr/lib/perl5/Slash/Utility/Display.pm line 549. - -- Taku YASUI <tach****@osdn*****> Wed, 23 Jan 2008 17:02:11 +0900 + -- Taku YASUI <tach****@osdn*****> Thu, 24 Jan 2008 12:44:30 +0900 slash (2.5.0.189-2) unstable; urgency=low