You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2011/10/26 20:05:33 UTC

[35/50] git commit: close #COUCHDB-1297

close #COUCHDB-1297

make sure we have a binary here.


git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1176648 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/7fe255e8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/7fe255e8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/7fe255e8

Branch: refs/heads/1319-large-headers-are-corrupted
Commit: 7fe255e8225cfcb8f5ed5837f7f0a853c5236a68
Parents: 2498101
Author: Benoit Chesneau <be...@apache.org>
Authored: Tue Sep 27 22:29:58 2011 +0000
Committer: Benoit Chesneau <be...@apache.org>
Committed: Tue Sep 27 22:29:58 2011 +0000

----------------------------------------------------------------------
 src/couchdb/couch_os_process.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/7fe255e8/src/couchdb/couch_os_process.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_os_process.erl b/src/couchdb/couch_os_process.erl
index 415cdbb..8b22ec5 100644
--- a/src/couchdb/couch_os_process.erl
+++ b/src/couchdb/couch_os_process.erl
@@ -149,7 +149,7 @@ init([Command, Options, PortOptions]) ->
         writer=fun writejson/2,
         reader=fun readjson/1
     },
-    KillCmd = readline(BaseProc),
+    KillCmd = iolist_to_binary(readline(BaseProc)),
     Pid = self(),
     ?LOG_DEBUG("OS Process Start :: ~p", [BaseProc#os_proc.port]),
     spawn(fun() ->