summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-05-16 22:11:06 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-05-16 22:11:06 +0100
commitf719a2d6d029bead67b6a2602c0004a7f4adf587 (patch)
treec2ca0bde571f13bba866d4dc636c417a97b52513
parentd7ef3a9fcc7048299b406686c81be698a7e66523 (diff)
downloadrabbitmq-server-git-f719a2d6d029bead67b6a2602c0004a7f4adf587.tar.gz
Extra words
-rw-r--r--src/rabbit_misc.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 9895a137af..9a675fbbe7 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -523,10 +523,10 @@ write_term_file(File, Terms) ->
write_file(Path, Data) ->
write_file(Path, Data, []).
-%% write_file/3 is based on the implementation in the kernel/file.erl
-%% file of the Erlang R14B02 release, licensed under the EPL. That
-%% implementation does not do an fsync prior to closing the file,
-%% hence the existence of this version.
+%% write_file/3 and make_binary/1 is based on the implementation in
+%% the kernel/file.erl file of the Erlang R14B02 release, licensed
+%% under the EPL. That implementation does not do an fsync prior to
+%% closing the file, hence the existence of this version.
write_file(Path, Data, Modes) ->
Modes1 = [binary, write | (Modes -- [binary, write])],
case make_binary(Data) of