* csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle
	banners.
This commit is contained in:
Ulrich Drepper 2003-09-25 20:31:23 +00:00
parent 901956a52a
commit 63461e7544
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-09-25 Ulrich Drepper <drepper@redhat.com>
* csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle
banners.
* nis/nis_table.c (nis_list): Always strdup string used with
ibreq->ibr_name. Add several NULL pointer checks.

View File

@ -239,6 +239,6 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
if test -n "$$files"; then \
echo "\"Available extensions:\\n\""; \
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
-e 's/\(^.*$$\)/\"\1\\n\"/' $$files; \
-e 's/^\(.*\)$$/\"\1\\n\"/' $$files; \
fi) > $@T
mv -f $@T $@