MAPREDUCE-4953. HadoopPipes misuses fprintf. Contributed by Andy Isaacson.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1442472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2013-02-05 04:54:28 +00:00
parent 400ea0cba2
commit 98678962c4
2 changed files with 3 additions and 1 deletions

View File

@ -139,6 +139,8 @@ Release 2.0.3-alpha - Unreleased
MAPREDUCE-4884. Streaming tests fail to start MiniMRCluster due to missing
queue configuration. (Chris Nauroth via suresh)
MAPREDUCE-4953. HadoopPipes misuses fprintf. (Andy Isaacson via atm)
Release 2.0.2-alpha - 2012-09-07
INCOMPATIBLE CHANGES

View File

@ -127,7 +127,7 @@ namespace HadoopPipes {
static const char lineSeparator = '\n';
void writeBuffer(const string& buffer) {
fprintf(stream, quoteString(buffer, "\t\n").c_str());
fputs(quoteString(buffer, "\t\n").c_str(), stream);
}
public: