view src/base64/Makefile.am @ 312:c74adb7c4f50

null-terminated the decoded base64 strings The returned size is still the same. I only alloced one byte more and filled it with zero. TODO: I'm not sure if the allocated size is exact. It's large enough but maybe too large.
author meillo@marmaro.de
date Sun, 24 Apr 2011 20:13:47 +0200
parents 08114f7dcc23
children
line wrap: on
line source

AM_CFLAGS=@CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE

noinst_LIBRARIES=libbase64.a
noinst_PROGRAMS=base64enc base64dec

base64enc_SOURCES=\
	base64.h\
	base64enc.c\
	base64.c

base64dec_SOURCES=\
	base64.h\
	base64dec.c\
	base64.c

libbase64_a_SOURCES=\
	base64.h\
	base64.c

base64enc_LDADD=@GLIB_LIBS@
base64dec_LDADD=@GLIB_LIBS@