Skip to content

Commit

Permalink
* csu/Makefile: Use printf instead of echo for some shells.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Mar 1, 2005
1 parent a0e3c9e commit 9db670f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

* debug/warning-nop.c (__nop): Rename to nop, make it static.
Expand Down
2 changes: 1 addition & 1 deletion csu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files)
esac; \
files="$(all-Banner-files)"; \
if test -n "$$files"; then \
echo "\"Available extensions:\\n\""; \
printf '"Available extensions:\\n"\n'; \
sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \
-e 's/^\(.*\)$$/\"\1\\n\"/' $$files; \
fi) > $@T
Expand Down
2 changes: 1 addition & 1 deletion debug/pread64_chk.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)
if (nbytes > buflen)
__chk_fail ();

return __pread64 (fd, buf, offset, MIN (nbytes, buflen + 1));
return __pread64 (fd, buf, offset, nbytes);
}
2 changes: 1 addition & 1 deletion debug/pread_chk.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ __pread_chk (int fd, void *buf, size_t nbytes, off_t offset, size_t buflen)
if (nbytes > buflen)
__chk_fail ();

return __pread (fd, buf, offset, MIN (nbytes, buflen + 1));
return __pread (fd, buf, offset, nbytes);
}

0 comments on commit 9db670f

Please sign in to comment.