File 2032-erts-Fix-doxygen-formatting.patch of Package erlang

From f64e5a13080e97f92dcc9034d63f2c60e0ed3c4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Tue, 15 Oct 2019 12:00:20 +0200
Subject: [PATCH] erts: Fix doxygen formatting

doxygen only looks for tags in comments that start with `/**` or
`///`, tags inside plain comments are ignored.
---
 erts/emulator/beam/erl_db_catree.c        |  8 ++++----
 erts/emulator/beam/erl_db_tree.c          |  8 ++++----
 erts/emulator/beam/erl_db_util.h          |  6 +++---
 erts/emulator/beam/erl_lock_count.h       | 11 ++++++-----
 erts/emulator/beam/erl_lock_flags.h       |  4 ++--
 erts/emulator/nifs/common/prim_file_nif.h | 12 ++++++------
 erts/emulator/nifs/win32/win_prim_file.c  |  6 +++---
 erts/emulator/sys/common/erl_osenv.h      | 18 +++++++++---------
 8 files changed, 37 insertions(+), 36 deletions(-)

diff --git a/erts/emulator/nifs/win32/win_prim_file.c b/erts/emulator/nifs/win32/win_prim_file.c
index 839ac3ea6e..fca7385809 100644
--- a/erts/emulator/nifs/win32/win_prim_file.c
+++ b/erts/emulator/nifs/win32/win_prim_file.c
@@ -269,7 +269,7 @@ static int normalize_path_result(ErlNifBinary *path) {
     return enif_realloc_binary(path, length * sizeof(WCHAR));
 }
 
-/* @brief Checks whether all the given attributes are set on the object at the
+/** @brief Checks whether all the given attributes are set on the object at the
  * given handle. Note that it assumes false on errors. */
 static int handle_has_file_attributes(HANDLE handle, DWORD mask) {
     BY_HANDLE_FILE_INFORMATION native_file_info;
-- 
2.16.4

openSUSE Build Service is sponsored by