This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Inetutils ".
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=315907c800aa606f747ecf82fb04ff36b03a993a The branch, master has been updated via 315907c800aa606f747ecf82fb04ff36b03a993a (commit) from c198e79fa1b398c1f05a85d1d99314b63f05a10d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 315907c800aa606f747ecf82fb04ff36b03a993a Author: Simon Josefsson <[email protected]> Date: Fri Nov 13 18:27:15 2009 +0100 Fix syntax-check sc_cast_of_alloca_return_value. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ ftpd/ftpd.c | 3 +-- rshd/rshd.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 782221e..9a034c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-11-13 Simon Josefsson <[email protected]> + * rshd/rshd.c (doit): Fix syntax-check + sc_cast_of_alloca_return_value. + * ftpd/ftpd.c (send_file_list): Likewise. + +2009-11-13 Simon Josefsson <[email protected]> + * inetd/inetd.c (nextconfig): Fix syntax-check sc_cast_of_argument_to_free. * hostname/hostname.c (set_name): Likewise. diff --git a/ftpd/ftpd.c b/ftpd/ftpd.c index 38e23c4..3a7772d 100644 --- a/ftpd/ftpd.c +++ b/ftpd/ftpd.c @@ -1942,8 +1942,7 @@ send_file_list (const char *whichf) dir->d_name[2] == '\0') continue; - nbuf = (char *) alloca (strlen (dirname) + 1 + - strlen (dir->d_name) + 1); + nbuf = alloca (strlen (dirname) + 1 + strlen (dir->d_name) + 1); sprintf (nbuf, "%s/%s", dirname, dir->d_name); /* We have to do a stat to insure it's diff --git a/rshd/rshd.c b/rshd/rshd.c index 38bc10b..c966e44 100644 --- a/rshd/rshd.c +++ b/rshd/rshd.c @@ -507,7 +507,7 @@ doit (int sockfd, struct sockaddr_in *fromp) #endif if (check_all || local_domain (hp->h_name)) { - char *remotehost = (char *) alloca (strlen (hostname) + 1); + char *remotehost = alloca (strlen (hostname) + 1); if (!remotehost) errorstr = "Out of memory\n"; else hooks/post-receive -- GNU Inetutils _______________________________________________ Commit-inetutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/commit-inetutils
