mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix typos in malloc/.
* malloc/mcheck.c (mcheck_check_all): Fix typo. * malloc/memusage.c (mmap): Likewise. (mmap64, mremap): Likewise. Adjust name in comment.
This commit is contained in:
committed by
Alexandre Oliva
parent
1ffb8c9001
commit
fad64255f4
@ -1,3 +1,9 @@
|
|||||||
|
2012-09-05 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* malloc/mcheck.c (mcheck_check_all): Fix typo.
|
||||||
|
* malloc/memusage.c (mmap): Likewise.
|
||||||
|
(mmap64, mremap): Likewise. Adjust name in comment.
|
||||||
|
|
||||||
2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* libio/fileops.c: Fix typos in comments.
|
* libio/fileops.c: Fix typos in comments.
|
||||||
|
@ -122,7 +122,7 @@ checkhdr (const struct hdr *hdr)
|
|||||||
void
|
void
|
||||||
mcheck_check_all (void)
|
mcheck_check_all (void)
|
||||||
{
|
{
|
||||||
/* Walk through all the active blocks and test whether they were tempered
|
/* Walk through all the active blocks and test whether they were tampered
|
||||||
with. */
|
with. */
|
||||||
struct hdr *runp = root;
|
struct hdr *runp = root;
|
||||||
|
|
||||||
|
@ -564,7 +564,7 @@ free (void *ptr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* `mmap' replacement. We do not have to keep track of the sizesince
|
/* `mmap' replacement. We do not have to keep track of the size since
|
||||||
`munmap' will get it as a parameter. */
|
`munmap' will get it as a parameter. */
|
||||||
void *
|
void *
|
||||||
mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset)
|
mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset)
|
||||||
@ -616,7 +616,7 @@ mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* `mmap' replacement. We do not have to keep track of the sizesince
|
/* `mmap64' replacement. We do not have to keep track of the size since
|
||||||
`munmap' will get it as a parameter. */
|
`munmap' will get it as a parameter. */
|
||||||
void *
|
void *
|
||||||
mmap64 (void *start, size_t len, int prot, int flags, int fd, off64_t offset)
|
mmap64 (void *start, size_t len, int prot, int flags, int fd, off64_t offset)
|
||||||
@ -668,7 +668,7 @@ mmap64 (void *start, size_t len, int prot, int flags, int fd, off64_t offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* `mmap' replacement. We do not have to keep track of the sizesince
|
/* `mremap' replacement. We do not have to keep track of the size since
|
||||||
`munmap' will get it as a parameter. */
|
`munmap' will get it as a parameter. */
|
||||||
void *
|
void *
|
||||||
mremap (void *start, size_t old_len, size_t len, int flags, ...)
|
mremap (void *start, size_t old_len, size_t len, int flags, ...)
|
||||||
|
Reference in New Issue
Block a user