Commit 523929c9 authored by Emmanuel Odeke's avatar Emmanuel Odeke Committed by Trevor Norris
Browse files

repl: Private Buffer object in lib/* files

Fixes usage of global object 'Buffer' in lib/* files by ensuring that
each file does an explicit require('buffer').Buffer.  Previously, when
running a repl, due to usage of global 'Buffer', any redefinition of
Buffer would cause a crash eg var Buffer = {}.

Fixes: https://github.com/joyent/node/issues/8588
PR-URL: https://github.com/joyent/node/pull/8603


Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent ea69dd75
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment