mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
* csu/Makefile: Use printf instead of echo for some shells.
This commit is contained in:
parent
a0e3c9e2e8
commit
9db670f07a
@ -1,3 +1,7 @@
|
|||||||
|
2005-02-26 GOTO Masanori <gotom@debian.or.jp>
|
||||||
|
|
||||||
|
* csu/Makefile: Use printf instead of echo for some shells.
|
||||||
|
|
||||||
2005-02-28 Roland McGrath <roland@redhat.com>
|
2005-02-28 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* debug/warning-nop.c (__nop): Rename to nop, make it static.
|
* debug/warning-nop.c (__nop): Rename to nop, make it static.
|
||||||
|
@ -241,7 +241,7 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
|
|||||||
esac; \
|
esac; \
|
||||||
files="$(all-Banner-files)"; \
|
files="$(all-Banner-files)"; \
|
||||||
if test -n "$$files"; then \
|
if test -n "$$files"; then \
|
||||||
echo "\"Available extensions:\\n\""; \
|
printf '"Available extensions:\\n"\n'; \
|
||||||
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
|
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
|
||||||
-e 's/^\(.*\)$$/\"\1\\n\"/' $$files; \
|
-e 's/^\(.*\)$$/\"\1\\n\"/' $$files; \
|
||||||
fi) > $@T
|
fi) > $@T
|
||||||
|
@ -26,5 +26,5 @@ __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)
|
|||||||
if (nbytes > buflen)
|
if (nbytes > buflen)
|
||||||
__chk_fail ();
|
__chk_fail ();
|
||||||
|
|
||||||
return __pread64 (fd, buf, offset, MIN (nbytes, buflen + 1));
|
return __pread64 (fd, buf, offset, nbytes);
|
||||||
}
|
}
|
||||||
|
@ -26,5 +26,5 @@ __pread_chk (int fd, void *buf, size_t nbytes, off_t offset, size_t buflen)
|
|||||||
if (nbytes > buflen)
|
if (nbytes > buflen)
|
||||||
__chk_fail ();
|
__chk_fail ();
|
||||||
|
|
||||||
return __pread (fd, buf, offset, MIN (nbytes, buflen + 1));
|
return __pread (fd, buf, offset, nbytes);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user