projects
/
platform
/
upstream
/
fribidi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.0.10
[platform/upstream/fribidi.git]
/
gen.tab
/
gen-arabic-shaping-tab.c
diff --git
a/gen.tab/gen-arabic-shaping-tab.c
b/gen.tab/gen-arabic-shaping-tab.c
index
fe298bd
..
369501c
100644
(file)
--- a/
gen.tab/gen-arabic-shaping-tab.c
+++ b/
gen.tab/gen-arabic-shaping-tab.c
@@
-1,12
+1,6
@@
/* FriBidi
* gen-arabic-shaping-tab.c - generate arabic-shaping.tab.i
*
/* FriBidi
* gen-arabic-shaping-tab.c - generate arabic-shaping.tab.i
*
- * $Id: gen-arabic-shaping-tab.c,v 1.2 2006-01-31 03:23:12 behdad Exp $
- * $Author: behdad $
- * $Date: 2006-01-31 03:23:12 $
- * $Revision: 1.2 $
- * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/gen.tab/gen-arabic-shaping-tab.c,v $
- *
* Author:
* Behdad Esfahbod, 2004, 2005
*
* Author:
* Behdad Esfahbod, 2004, 2005
*
@@
-25,10
+19,10
@@
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library, in a file named COPYING; if not, write to the
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library, in a file named COPYING; if not, write to the
- * Free Software Foundation, Inc., 5
9 Temple Place, Suite 330
,
- * Boston, MA 0211
1-1307
, USA
+ * Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+ * Boston, MA 0211
0-1301
, USA
*
*
- * For licensing issues, contact <
license@farsiweb.info
>.
+ * For licensing issues, contact <
fribidi.license@gmail.com
>.
*/
#include <common.h>
*/
#include <common.h>
@@
-36,7
+30,11
@@
#include <fribidi-unicode.h>
#include <stdio.h>
#include <fribidi-unicode.h>
#include <stdio.h>
-#if STDC_HEADERS+0
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# include <stdlib.h>
# include <stddef.h>
#else
@@
-44,13
+42,13
@@
# include <stdlib.h>
# endif
#endif
# include <stdlib.h>
# endif
#endif
-#if
HAVE_STRING_H+0
+#if
def HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
-#if
HAVE_STRINGS_H+0
+#if
def HAVE_STRINGS_H
# include <strings.h>
#endif
# include <strings.h>
#endif
@@
-214,7
+212,6
@@
read_data (
for (; data_file_name[0] && data_file_type[0];
data_file_name++, data_file_type++)
{
for (; data_file_name[0] && data_file_type[0];
data_file_name++, data_file_type++)
{
- fprintf (stderr, "Reading `%s'\n", data_file_name[0]);
if (!(f = fopen (data_file_name[0], "rt")))
die2 ("error: cannot open `%s' for reading", data_file_name[0]);
if (!(f = fopen (data_file_name[0], "rt")))
die2 ("error: cannot open `%s' for reading", data_file_name[0]);
@@
-240,8
+237,6
@@
gen_arabic_shaping_tab (
if (maxshaped < minshaped)
die ("error: no shaping pair found, something wrong with reading input");
if (maxshaped < minshaped)
die ("error: no shaping pair found, something wrong with reading input");
- fprintf (stderr,
- "Generating `" outputname "', it may take up to a few minutes\n");
printf ("/* " outputname "\n * generated by " appname " (" FRIBIDI_NAME " "
FRIBIDI_VERSION ")\n" " * from the files %s, %s of Unicode version "
FRIBIDI_UNICODE_VERSION ". */\n\n", data_file_type[0],
printf ("/* " outputname "\n * generated by " appname " (" FRIBIDI_NAME " "
FRIBIDI_VERSION ")\n" " * from the files %s, %s of Unicode version "
FRIBIDI_UNICODE_VERSION ". */\n\n", data_file_type[0],