From a122dbfb2e7f90b338b633a73b576efa258e215d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 25 Oct 2017 08:05:51 -0700 Subject: 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. --- include/alloc_buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/alloc_buffer.h') 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) \ -- cgit 1.4.1