From 68a5732d9adfe54e60fe0e6dbea33bc247334c49 Mon Sep 17 00:00:00 2001 From: daichuan Date: Mon, 30 Dec 2024 17:56:50 +0800 Subject: [PATCH] stdio.h: Update TMP_MAX definition to match Linux. Update TMP_MAX from 56800235584ull to 308915776 to align with the value used in Linux. This ensures better compatibility for applications relying on this standard macro. Signed-off-by: daichuan --- include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdio.h b/include/stdio.h index 591bb91079c..1aa4e6691b5 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -87,7 +87,7 @@ /* The maximum number of unique temporary file names that can be generated */ -#define TMP_MAX 56800235584ull +#define TMP_MAX 308915776 #if defined(CONFIG_FS_LARGEFILE) # define tmpfile64 tmpfile