Bug #615168: Fix bogus gnc:safe-strcmp definition

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19065 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-04-23 21:02:30 +00:00
parent 1f45659dbd
commit 89e88ac983

View File

@ -83,16 +83,15 @@
;; various utilities
(define (gnc:safe-strcmp a b)
(cond
(if (and a b)
(cond
((string<? a b) -1)
((string>? a b) 1)
(else 0))
(cond
(a 1)
(b -1)
(else 0)))))
(if (and a b)
(cond
((string<? a b) -1)
((string>? a b) 1)
(else 0))
(cond
(a 1)
(b -1)
(else 0))))
(if (not (defined? 'hash-fold))
(define (hash-fold proc init table)