HomePhorge

Maint: Fix bad copy and paste
90fb5c8eee1aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Maint: Fix bad copy and paste

The code for creating the webrick access log file was copied from
ruby's WEBrick::BasicLog.initialize method so that we can prevent
the file descriptor from being inherited across an exec call. However,
the pasted version changed sync = true to just sync, which doesn't
do what we want.

This commit sets the sync mode on the access log file descriptor so
that writes are automatically flushed.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUaa8a00b3939e: (#12725) Fix puppet agent --listen on Windows
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU90fb5c8eee1a: Maint: Fix bad copy and paste (authored by Josh Cooper <josh@puppetlabs.com>).Feb 22 2012, 1:47 AM