diff options
author | Greg McGary <greg@mcgary.org> | 2000-07-17 22:31:56 +0000 |
---|---|---|
committer | Greg McGary <greg@mcgary.org> | 2000-07-17 22:31:56 +0000 |
commit | 14fa17ccec369589c6578af5b6a97b1353d73227 (patch) | |
tree | 11d6dfb3d99e1235c8065fc888ab07a6094ee55e /sysdeps/generic/strcpy.c | |
parent | 4d928e8d7d2667b05daf101f7555cfc14b0401c1 (diff) | |
download | glibc-14fa17ccec369589c6578af5b6a97b1353d73227.tar.gz glibc-14fa17ccec369589c6578af5b6a97b1353d73227.tar.xz glibc-14fa17ccec369589c6578af5b6a97b1353d73227.zip |
* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
_IO_file_attach. * libio/iovdprintf.c (_IO_vdprintf): Likewise. * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings. * sysdeps/unix/sysv/linux/execve.c (__execve): Add const qualifiers. Don't check NULL-terminator of argv & envp. * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use unbounded pointer type in word-size assertion. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing cases to stifle warnings. * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to _IO_file_attach. * libio/iovdprintf.c (_IO_vdprintf): Likewise.
Diffstat (limited to 'sysdeps/generic/strcpy.c')
-rw-r--r-- | sysdeps/generic/strcpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/strcpy.c b/sysdeps/generic/strcpy.c index 2317eba65c..c8e28c5532 100644 --- a/sysdeps/generic/strcpy.c +++ b/sysdeps/generic/strcpy.c @@ -42,8 +42,8 @@ strcpy (dest, src) while (c != '\0'); n = s - src; - CHECK_BOUNDS_HIGH (src + n); - CHECK_BOUNDS_HIGH (dest + n); + (void) CHECK_BOUNDS_HIGH (src + n); + (void) CHECK_BOUNDS_HIGH (dest + n); return dest; } |