Skip to content

Commit ccf8cfd

Browse files
committed
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
1 parent 9bb23a3 commit ccf8cfd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

hadoop-mapreduce-project/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ Release 2.0.3-alpha - Unreleased
287287
MAPREDUCE-4969. TestKeyValueTextInputFormat test fails with Open JDK 7.
288288
(Arpit Agarwal via suresh)
289289

290+
MAPREDUCE-4953. HadoopPipes misuses fprintf. (Andy Isaacson via atm)
291+
290292
Release 2.0.2-alpha - 2012-09-07
291293

292294
INCOMPATIBLE CHANGES

hadoop-tools/hadoop-pipes/src/main/native/pipes/impl/HadoopPipes.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace HadoopPipes {
127127
static const char lineSeparator = '\n';
128128

129129
void writeBuffer(const string& buffer) {
130-
fprintf(stream, quoteString(buffer, "\t\n").c_str());
130+
fputs(quoteString(buffer, "\t\n").c_str(), stream);
131131
}
132132

133133
public:

0 commit comments

Comments
 (0)