diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-25 08:05:51 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-25 08:05:51 -0700 |
commit | a122dbfb2e7f90b338b633a73b576efa258e215d (patch) | |
tree | bcad1a651ccf288bfbd0676c8fe82161047df2d4 /include/alloc_buffer.h | |
parent | 9be7530cc0eae4d39b3d59beadc849a3a6942ffe (diff) | |
download | glibc-a122dbfb2e7f90b338b633a73b576efa258e215d.tar.gz glibc-a122dbfb2e7f90b338b633a73b576efa258e215d.tar.xz glibc-a122dbfb2e7f90b338b633a73b576efa258e215d.zip |
Replace "if if " with "if " in comments
* include/alloc_buffer.h: Replace "if if " with "if " in comments. * sysdeps/mips/memcpy.S: Likkewise. * sysdeps/mips/memset.S: Likewise. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
Diffstat (limited to 'include/alloc_buffer.h')
-rw-r--r-- | include/alloc_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/alloc_buffer.h b/include/alloc_buffer.h index d668a60d66..21558a6c3b 100644 --- a/include/alloc_buffer.h +++ b/include/alloc_buffer.h @@ -267,7 +267,7 @@ __alloc_buffer_alloc (struct alloc_buffer *buf, size_t size, size_t align) /* Obtain a TYPE * pointer to an object in BUF of TYPE. Consume these bytes from the buffer. Return NULL and mark the buffer as failed - if if there is not enough room in the buffer, or if the buffer has + if there is not enough room in the buffer, or if the buffer has failed before. */ #define alloc_buffer_alloc(buf, type) \ ((type *) __alloc_buffer_alloc \ @@ -315,7 +315,7 @@ void * __libc_alloc_buffer_alloc_array (struct alloc_buffer *buf, /* Obtain a TYPE * pointer to an array of COUNT objects in BUF of TYPE. Consume these bytes from the buffer. Return NULL and mark - the buffer as failed if if there is not enough room in the buffer, + the buffer as failed if there is not enough room in the buffer, or if the buffer has failed before. (Zero-length allocations from an empty buffer which has not yet failed succeed.) */ #define alloc_buffer_alloc_array(buf, type, count) \ |