From c66e282fa789e1acb99547663b883a656fa37e0f Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 5 Dec 2006 03:38:11 +0000 Subject: [PATCH] *** empty log message *** --- ase/lsp/makefile.in | 5 ++--- ase/lsp/name.c | 12 ++++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ase/lsp/makefile.in b/ase/lsp/makefile.in index 2e5c379e..b5166ba1 100644 --- a/ase/lsp/makefile.in +++ b/ase/lsp/makefile.in @@ -4,14 +4,13 @@ OBJS = $(SRCS:.c=.o) OUT = libaselsp.a CC = @CC@ -RANLIB = @RANLIB@ +AR = ar CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ all: $(OBJS) - ar cr $(OUT) $(OBJS) - ranlib $(OUT) + $(AR) cr $(OUT) $(OBJS) clean: rm -rf $(OBJS) $(OUT) *.o diff --git a/ase/lsp/name.c b/ase/lsp/name.c index 0e853103..d486fe70 100644 --- a/ase/lsp/name.c +++ b/ase/lsp/name.c @@ -1,5 +1,5 @@ /* - * $Id: name.c,v 1.12 2006-11-29 02:54:17 bacon Exp $ + * $Id: name.c,v 1.13 2006-12-05 03:38:11 bacon Exp $ */ #include @@ -35,7 +35,7 @@ ase_lsp_name_t* ase_lsp_name_open ( name->size = 0; name->capa = capa; - name->buf[0] = ASE_CHAR('\0'); + name->buf[0] = ASE_T('\0'); name->lsp = lsp; return name; @@ -87,13 +87,13 @@ int ase_lsp_name_addc (ase_lsp_name_t* name, ase_cint_t c) } name->buf[name->size++] = c; - name->buf[name->size] = ASE_CHAR('\0'); + name->buf[name->size] = ASE_T('\0'); return 0; } int ase_lsp_name_adds (ase_lsp_name_t* name, const ase_char_t* s) { - while (*s != ASE_CHAR('\0')) + while (*s != ASE_T('\0')) { if (ase_lsp_name_addc(name, *s) == -1) return -1; s++; @@ -105,7 +105,7 @@ int ase_lsp_name_adds (ase_lsp_name_t* name, const ase_char_t* s) void ase_lsp_name_clear (ase_lsp_name_t* name) { name->size = 0; - name->buf[0] = ASE_CHAR('\0'); + name->buf[0] = ASE_T('\0'); } int ase_lsp_name_compare (ase_lsp_name_t* name, const ase_char_t* str) @@ -120,5 +120,5 @@ int ase_lsp_name_compare (ase_lsp_name_t* name, const ase_char_t* str) index++; p++; str++; } - return (*str == ASE_CHAR('\0'))? 0: -1; + return (*str == ASE_T('\0'))? 0: -1; }