PATCH: handle "0" amount (was Re: stock thoughts)

Jon Lapham lapham at extracta.com.br
Wed Jul 30 22:30:51 CDT 2003


Derek Atkins wrote:
> ok, I've got a patch that seems to work right..  I've tested it
> and I don't see any problems, but I'd like to get others to
> test it before I apply it to 1.8.  Can others please test this
> patch and see if you have find any problems?
> 
> Thanks!

Compiling now, I'll let you know how it deals with my stocks example 
file.  But check this out:

lapham at bilbo > patch -p0 < ../../../ledger-accept-0.diff
patching file src/engine/Transaction.c
Hunk #1 succeeded at 2987 (offset -161 lines).
patching file src/register/ledger-core/split-register-control.c
Hunk #1 succeeded at 1078 (offset 1 line).
patching file src/register/ledger-core/split-register-model-save.c
patching file src/register/ledger-core/split-register-model.c
Hunk #1 succeeded at 928 (offset -30 lines).
Hunk #3 succeeded at 1377 (offset -30 lines).
patching file src/register/ledger-core/split-register.c
Hunk #1 succeeded at 1632 (offset -98 lines).

Was this patch against an uptodate 1.8 branch?

-- 
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
  Jon Lapham  <lapham at extracta.com.br>          Rio de Janeiro, Brasil
  Work: Extracta Moléculas Naturais SA     http://www.extracta.com.br/
  Web: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------




More information about the gnucash-devel mailing list