From dev-return-4525-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Jun 04 07:39:51 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 19905 invoked from network); 4 Jun 2009 07:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 07:39:50 -0000 Received: (qmail 73265 invoked by uid 500); 4 Jun 2009 07:40:02 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 73184 invoked by uid 500); 4 Jun 2009 07:40:01 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 73174 invoked by uid 99); 4 Jun 2009 07:40:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 07:40:01 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 07:39:52 +0000 Received: from [10.0.1.3] (g225082208.adsl.alicedsl.de [::ffff:92.225.82.208]) (AUTH: LOGIN jan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Thu, 04 Jun 2009 07:39:29 +0000 Message-Id: <4A621626-A07D-4D85-AD2E-1194A6BF40DB@apache.org> From: Jan Lehnardt To: dev@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Windows support Date: Thu, 4 Jun 2009 09:38:56 +0200 References: <64883581-F4C3-4C01-842E-CFF1DFF26656@apache.org> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On 4 Jun 2009, at 03:55, Li Zhengji wrote: > For DB compaction, I think that besides to ask Erlang/OTP team to > modify BEAM VM, a patch to the VM is also easy and possible. > > For example, I have sent a patch to user list: > >> Here is a quick fix for R13B(5.7.1) beam.smp.dll >> (MD5:4c733eaef7f8619cbac0c9a4b84e20d2): >> >> Change the byte at 0xB5720 from 0x03 to 0x07. Enjoy DB compaction. This is a pretty cool hack (if it works, I haven't tried), but byte- patching binaries is not a solution I'd like to support :) -- It's good however to know that it works and we can go find out what source to change to get to the same behaviour. Cheers Jan -- > > On Thu, Jun 4, 2009 at 1:27 AM, Damien Katz wrote: >> I was once again reminded we need to add proper Windows support for >> CouchDB >> when Mark Hammond provided a very nice patch to provide a windows >> version of >> a couchdb unix script. (Thanks Mark!) >> > > -- > Li Zhengji >