Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed MV_DOLLAR_ZERO workaround for a bug fixed 5 years ago.

  • Loading branch information...
commit fcc1a0a53305812f7221457b2ecaadc094302933 1 parent c2a1f0f
@racke racke authored
View
4 WHATSNEW-5.5
@@ -6,7 +6,7 @@
------------------------------------------------------------------------------
-Interchange 5.5.1 released on YYYY-MM-DD.
+Interchange 5.5.1 released on 2007-08-21.
See UPGRADE document for incompatible changes not listed here.
@@ -130,6 +130,8 @@ Core
* Fixed a bug where the [data session host] was not being set on a session's
first page access. The "host" key was only being set for subsequent pages.
+* Removed MV_DOLLAR_ZERO workaround for a bug fixed 5 years ago.
+
UserDB
------
View
6 dist/interchange.cfg.dist
@@ -107,12 +107,6 @@ endif
## sendmail or clones
Variable MV_SMTPHOST smtp
-# FreeBSD's stock Perl build dumps core if you set $0, so let's not touch it
-ifdef DOLLAR_ZERO_BUG or $^O =~ /freebsd/
-Message Running FreeBSD; disabling $0 set
-Variable MV_DOLLAR_ZERO 0
-endif
-
# Include individual usertags.
include usertag/*.tag
View
8 lib/Vend/Server.pm
@@ -1,6 +1,6 @@
# Vend::Server - Listen for Interchange CGI requests as a background server
#
-# $Id: Server.pm,v 2.80 2007-08-12 07:00:43 pajamian Exp $
+# $Id: Server.pm,v 2.81 2007-08-20 21:42:21 racke Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -26,7 +26,7 @@
package Vend::Server;
use vars qw($VERSION);
-$VERSION = substr(q$Revision: 2.80 $, 10);
+$VERSION = substr(q$Revision: 2.81 $, 10);
use Cwd;
use POSIX qw(setsid strftime);
@@ -2997,10 +2997,6 @@ sub set_process_name {
my $status = shift;
my $base = $Global::Variable->{MV_DOLLAR_ZERO};
- # BSD hack which allows us to set MV_DOLLAR_ZERO to '0' to prevent Interchange
- # from changing it (and dumping core on FreeBSD 4 stock perl).
- return if defined $base && $base eq '0';
-
# Setting MV_DOLLAR_ZERO to 1 should do the same thing as not setting it for
# backwards compatibility.
$base = 'interchange' if !$base or $base eq '1';
View
4 scripts/interchange.PL
@@ -3,7 +3,7 @@
#
# Interchange version 5.5.1
#
-# $Id: interchange.PL,v 2.98 2007-08-20 10:46:17 racke Exp $
+# $Id: interchange.PL,v 2.99 2007-08-20 21:42:21 racke Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -957,8 +957,6 @@ EOF
# Here we prepare enter the daemon mode.
# Set $0 to something pretty for ps(1).
- # Won't work on Solaris and IRIX among possibly others.
- # Dumps core on FreeBSD 4 stock Perl build.
# This is all done in Vend::Server::set_process_name now.
Vend::Server::set_process_name($Global::VendRoot);
Please sign in to comment.
Something went wrong with that request. Please try again.