You are here: Foswiki>Tasks Web>Item12471 (19 Nov 2013, GeorgeClark)Edit Attach

Item12471: "Print on closed file handle" crash in configure checker when LocalSite.cfg cannot be written.

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.9
Target Release: patch
Applies To: Engine
Component: configure
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
See Support.Question1276

    open my $fh, '>', $name
      || return 'Could not create test file ' . $name . ':' . $!;

needs to become

    open my $fh, '>', $name
      or return 'Could not create test file ' . $name . ':' . $!;

This needs to be checked elsewhere, but 2 occurrences are in Checker.pm.

-- GeorgeClark - 10 Apr 2013

Cursory check of the rest of Foswiki didn't find any other examples like this.

But a semi-related error was found, the BasicSanity checker results are never returned to the user even when the system status is considered "insane".

-- GeorgeClark - 10 Apr 2013

ItemTemplate edit

Summary "Print on closed file handle" crash in configure checker when LocalSite.cfg cannot be written.
ReportedBy GeorgeClark
Codebase 1.1.8, trunk
SVN Range
AppliesTo Engine
Component configure
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:dc11c0604d18 distro:59dbc4a351d8
TargetRelease patch
ReleasedIn 1.1.9
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:59dbc4a351d8
Release01x01Checkins distro:dc11c0604d18
Topic revision: r7 - 19 Nov 2013, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy