Skip to contentSkip to conversation

futex.2: ffix

PATCH In review Alejandro Colomar 2 participants 2 messages Oct 30, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 futex.2: ffix

That comment wrapped on an 80-column terminal.
Divide it into two lines.

---
 man2/futex.2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
man2/futex.2 +2 -1
index 73de71623..538001e1d 100644
@@ -1816,7 +1816,8 @@ fpost(uint32_t *futexp)
 {
     long s;
 
-    /* atomic_compare_exchange_strong() was described in comments above */
+    /* atomic_compare_exchange_strong() was described
+       in comments above */
 
     const uint32_t zero = 0;
     if (atomic_compare_exchange_strong(futexp, &zero, 1)) {
Signature · 1 line
2.28.0
#1 lore raw

Hi Alex,

Quoted 13 lines · Alejandro Colomar

That comment wrapped on an 80-column terminal.
Divide it into two lines.

---
 man2/futex.2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
man2/futex.2 +0 -0
index 73de71623..538001e1d 100644

man2/futex.2 fpost(uint32_t *futexp) · line 1823

Quoted 9 lines
man2/futex.2 +2 -1
@@ -1816,7 +1816,8 @@ fpost(uint32_t *futexp)
 {
     long s;
 
-    /* atomic_compare_exchange_strong() was described in comments above */
+    /* atomic_compare_exchange_strong() was described
+       in comments above */
 
     const uint32_t zero = 0;
     if (atomic_compare_exchange_strong(futexp, &zero, 1)) {

Thanks. patch applied.

Cheers,

Michael

Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/