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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1442471 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2013-02-05 04:53:32 +00:00
parent ef8dd606ab
commit bdb5342b2d
2 changed files with 3 additions and 1 deletions

View File

@ -287,6 +287,8 @@ Release 2.0.3-alpha - Unreleased
MAPREDUCE-4969. TestKeyValueTextInputFormat test fails with Open JDK 7.
(Arpit Agarwal 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: