From: quzar <qu...@us...> - 2024-03-30 05:18:36
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 437c662388de933fabaf472603dd358cc8ba2c28 (commit) from 33acd8aee18d22d6871696e48977b68db55dd947 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 437c662388de933fabaf472603dd358cc8ba2c28 Author: Charlotte Koch <dre...@gm...> Date: Fri Mar 29 22:10:16 2024 -0700 Explicitly use GNU extension to allow flexible array member in struct dirent (#499) This allows C++ code to use DIR and related functions (opendir(), closedir(), etc.) ----------------------------------------------------------------------- Summary of changes: include/sys/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/dirent.h b/include/sys/dirent.h index ec4bedec..77595bd4 100644 --- a/include/sys/dirent.h +++ b/include/sys/dirent.h @@ -66,7 +66,7 @@ struct dirent { off_t d_off; /**< \brief File offset */ uint16_t d_reclen; /**< \brief Record length */ uint8_t d_type; /**< \brief File type */ - char d_name[]; /**< \brief Filename */ + char d_name[0]; /**< \brief Filename */ }; /** \brief Type representing a directory stream. hooks/post-receive -- A pseudo Operating System for the Dreamcast. |