[FriBidi-commit] fribidi/bin Makefile.am, 1.2, 1.3 fribidi-benchmark.c, 1.2, 1.3

Behdad Esfahbod behdad at pdx.freedesktop.org
Sat May 22 04:21:42 PDT 2004


Update of /cvs/fribidi/fribidi/bin
In directory pdx:/tmp/cvs-serv30407/bin

Modified Files:
	Makefile.am fribidi-benchmark.c 
Log Message:
Make gen-mirroring-tab and gen-unicode-version work.  gen.tab/ works now.


Index: Makefile.am
===================================================================
RCS file: /cvs/fribidi/fribidi/bin/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/Makefile.am	22 May 2004 10:35:30 -0000	1.2
+++ b/Makefile.am	22 May 2004 11:21:40 -0000	1.3
@@ -1,6 +1,6 @@
 bin_PROGRAMS = fribidi
 
-noinst_PROGRAMS = fribidi-benchmark bidi-type-serialize
+noinst_PROGRAMS = fribidi-benchmark
 
 getopt_SOURCES = getopt.c getopt1.c getopt_int.h getopt.h
 
@@ -14,7 +14,7 @@
 		-I$(top_srcdir)/charset \
 		$(MISC_CFLAGS)
 
-LDADD = $(top_builddir)/lib/libfribidi.la $(GLIB_LIBS)
+LDADD = $(top_builddir)/lib/libfribidi.la $(MISC_LIBS)
 
 if FRIBIDI_CHARSETS
 else # !FRIBIDI_CHARSETS

Index: fribidi-benchmark.c
===================================================================
RCS file: /cvs/fribidi/fribidi/bin/fribidi-benchmark.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/fribidi-benchmark.c	3 May 2004 22:05:19 -0000	1.2
+++ b/fribidi-benchmark.c	22 May 2004 11:21:40 -0000	1.3
@@ -198,9 +198,13 @@
     {
       /* Create a bidi string */
       base = FRIBIDI_TYPE_ON;
-      fribidi_log2vis (us, len, &base,
-		       /* output */
-		       out_us, positionVtoL, positionLtoV, embedding_list);
+      if (!fribidi_log2vis (us, len, &base,
+			    /* output */
+			    out_us, positionVtoL, positionLtoV,
+			    embedding_list))
+	die2
+	  ("something failed in fribidi_log2vis.\n"
+	   "perhaps memory allocation failure.", NULL);
     }
 
   /* stop timer */




More information about the FriBidi-Commit mailing list