couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject svn commit: r1176648 - /couchdb/trunk/src/couchdb/couch_os_process.erl
Date Tue, 27 Sep 2011 22:29:59 GMT
Author: benoitc
Date: Tue Sep 27 22:29:58 2011
New Revision: 1176648

URL: http://svn.apache.org/viewvc?rev=1176648&view=rev
Log:
close #COUCHDB-1297

make sure we have a binary here.

Modified:
    couchdb/trunk/src/couchdb/couch_os_process.erl

Modified: couchdb/trunk/src/couchdb/couch_os_process.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_os_process.erl?rev=1176648&r1=1176647&r2=1176648&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_os_process.erl (original)
+++ couchdb/trunk/src/couchdb/couch_os_process.erl Tue Sep 27 22:29:58 2011
@@ -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() ->



Mime
View raw message