diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-10-31 08:04:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-10-31 08:04:53 -0700 |
commit | 7cc607aa306baf0addad45d7350a771237971943 (patch) | |
tree | 507f3a535bf289330da94c37b6d8c6cdef3c6c11 | |
parent | 40bae281a56c9e305852905dcbd29125de388b25 (diff) | |
parent | 028668d2f2604850122fa6ee22bcbc6720910caa (diff) | |
download | txr-7cc607aa306baf0addad45d7350a771237971943.tar.gz txr-7cc607aa306baf0addad45d7350a771237971943.tar.bz2 txr-7cc607aa306baf0addad45d7350a771237971943.zip |
Merge branch 'master' of ssh://kylheku.com/git/txr
Conflicts:
ChangeLog
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | dep.mk | 6 | ||||
-rw-r--r-- | lib.c | 3 | ||||
-rw-r--r-- | mpi-patches/config-types | 8 |
4 files changed, 22 insertions, 9 deletions
@@ -1,3 +1,17 @@ +2012-10-30 Kaz Kylheku <kaz@kylheku.com> + + * lib.c (string_lt): Bugfix: wcscmp returns some value less than zero, + not specifically -1. + +2012-10-30 Kaz Kylheku <kaz@kylheku.com> + + * mpi-patches/config-types: Include the header as "config.h" + rather than "../config.h" because the dependency generation script + checks for this as a special case and treats it relative to the + build directory. + + * dep.mk: Regenerated. + 2012-10-01 Kaz Kylheku <kaz@kylheku.com> * arith.c (bignum_from_long): New function. @@ -3,7 +3,7 @@ ./y.tab.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./unwind.h $(top_srcdir)/./regex.h $(top_srcdir)/./utf8.h $(top_srcdir)/./match.h $(top_srcdir)/./hash.h $(top_srcdir)/./eval.h $(top_srcdir)/./parser.h ./match.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./gc.h $(top_srcdir)/./unwind.h $(top_srcdir)/./regex.h $(top_srcdir)/./stream.h $(top_srcdir)/./parser.h $(top_srcdir)/./txr.h $(top_srcdir)/./utf8.h $(top_srcdir)/./filter.h $(top_srcdir)/./hash.h $(top_srcdir)/./debug.h $(top_srcdir)/./eval.h $(top_srcdir)/./match.h ./lib.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./gc.h $(top_srcdir)/./arith.h $(top_srcdir)/./rand.h $(top_srcdir)/./hash.h $(top_srcdir)/./unwind.h $(top_srcdir)/./stream.h $(top_srcdir)/./utf8.h $(top_srcdir)/./filter.h $(top_srcdir)/./eval.h $(top_srcdir)/./regex.h -./regex.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./unwind.h $(top_srcdir)/./regex.h $(top_srcdir)/./txr.h +./regex.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./unwind.h $(top_srcdir)/./regex.h $(top_srcdir)/./txr.h $(top_srcdir)/./gc.h ./gc.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./stream.h $(top_srcdir)/./hash.h $(top_srcdir)/./txr.h $(top_srcdir)/./eval.h $(top_srcdir)/./gc.h ./unwind.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./gc.h $(top_srcdir)/./stream.h $(top_srcdir)/./txr.h $(top_srcdir)/./unwind.h ./stream.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./gc.h $(top_srcdir)/./unwind.h $(top_srcdir)/./stream.h $(top_srcdir)/./utf8.h @@ -13,6 +13,6 @@ ./filter.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./hash.h $(top_srcdir)/./unwind.h $(top_srcdir)/./match.h $(top_srcdir)/./filter.h $(top_srcdir)/./gc.h $(top_srcdir)/./stream.h ./eval.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./gc.h $(top_srcdir)/./unwind.h $(top_srcdir)/./regex.h $(top_srcdir)/./stream.h $(top_srcdir)/./parser.h $(top_srcdir)/./hash.h $(top_srcdir)/./debug.h $(top_srcdir)/./match.h $(top_srcdir)/./rand.h $(top_srcdir)/./filter.h $(top_srcdir)/./txr.h $(top_srcdir)/./eval.h ./rand.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./unwind.h $(top_srcdir)/./gc.h $(top_srcdir)/./arith.h $(top_srcdir)/./rand.h -mpi-1.8.6/mpi.o: $(top_srcdir)/mpi-1.8.6/../config.h $(top_srcdir)/mpi-1.8.6/mpi.h $(top_srcdir)/mpi-1.8.6/logtab.h -mpi-1.8.6/mplogic.o: $(top_srcdir)/mpi-1.8.6/../config.h $(top_srcdir)/mpi-1.8.6/mplogic.h +mpi-1.8.6/mpi.o: config.h $(top_srcdir)/mpi-1.8.6/mpi.h $(top_srcdir)/mpi-1.8.6/logtab.h +mpi-1.8.6/mplogic.o: config.h $(top_srcdir)/mpi-1.8.6/mplogic.h ./debug.o: config.h $(top_srcdir)/./lib.h $(top_srcdir)/./debug.h $(top_srcdir)/./gc.h $(top_srcdir)/./unwind.h $(top_srcdir)/./stream.h $(top_srcdir)/./parser.h $(top_srcdir)/./txr.h @@ -2092,8 +2092,7 @@ val trim_str(val str) val string_lt(val astr, val bstr) { - int cmp = wcscmp(c_str(astr), c_str(bstr)); - return cmp == -1 ? t : nil; + return wcscmp(c_str(astr), c_str(bstr)) < 0 ? t : nil; } val int_str(val str, val base) diff --git a/mpi-patches/config-types b/mpi-patches/config-types index a99e94c4..a2cb137b 100644 --- a/mpi-patches/config-types +++ b/mpi-patches/config-types @@ -80,7 +80,7 @@ Index: mpi-1.8.6/mpi.c $Id: mpi.c,v 1.1 2004/02/08 04:29:29 sting Exp $ */ -+#include "../config.h" ++#include "config.h" #include "mpi.h" #include <stdlib.h> #include <string.h> @@ -92,7 +92,7 @@ Index: mpi-1.8.6/mplogic.c $Id: mplogic.c,v 1.1 2004/02/08 04:29:29 sting Exp $ */ -+#include "../config.h" ++#include "config.h" #include "mplogic.h" #include <stdlib.h> @@ -104,7 +104,7 @@ Index: mpi-1.8.6/mpprime.c $Id: mpprime.c,v 1.1 2004/02/08 04:29:29 sting Exp $ */ -+#include "../config.h" ++#include "config.h" #include "mpprime.h" #include <stdlib.h> @@ -116,7 +116,7 @@ Index: mpi-1.8.6/mprsa.c $Id: mprsa.c,v 1.1 2004/02/08 04:29:29 sting Exp $ */ -+#include "../config.h" ++#include "config.h" #include "mprsa.h" #include <stdlib.h> #include <string.h> |