mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
wasn't sending pos arg for puts()
This commit is contained in:
parent
a4593e3ebd
commit
8a8e9df72e
4
configure
vendored
4
configure
vendored
@ -80,9 +80,9 @@ all-progress:
|
||||
|
||||
install:
|
||||
if test -n "\$(DESTDIR)"; then \\
|
||||
$WAF install --yes --destdir="\$(DESTDIR)" ; \\
|
||||
$WAF install --destdir="\$(DESTDIR)" ; \\
|
||||
else \\
|
||||
$WAF install --yes ; \\
|
||||
$WAF install ; \\
|
||||
fi;
|
||||
|
||||
uninstall:
|
||||
|
||||
@ -40,7 +40,11 @@ File.cat = function (path, callback) {
|
||||
}
|
||||
|
||||
File.prototype.puts = function (data, callback) {
|
||||
this.write(data + "\n", callback);
|
||||
this.write(data + "\n", -1, callback);
|
||||
};
|
||||
|
||||
File.prototype.print = function (data, callback) {
|
||||
this.write(data, -1, callback);
|
||||
};
|
||||
|
||||
File.prototype.open = function (path, mode, callback) {
|
||||
|
||||
@ -126,7 +126,7 @@ node.path = new function () {
|
||||
function finish() {
|
||||
//node.debug("finish 1 load <" + filename + ">");
|
||||
if (scaffold.onLoad instanceof Function) {
|
||||
//node.debug("foo bar <" + filename + ">");
|
||||
//node.debug("calling onLoad for <" + filename + ">");
|
||||
scaffold.onLoad();
|
||||
}
|
||||
//node.debug("finish 2 load <" + filename + ">");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user