You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/14 16:12:51 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8112: libc: Let _SC_PAGESIZE return 4096 when CONFIG_MM_PGSIZE isn't defined

xiaoxiang781216 commented on code in PR #8112:
URL: https://github.com/apache/nuttx/pull/8112#discussion_r1070317444


##########
libs/libc/unistd/lib_sysconf.c:
##########
@@ -229,7 +229,7 @@ long sysconf(int name)
 #ifdef CONFIG_MM_PGSIZE
         return CONFIG_MM_PGSIZE;
 #else
-        return 1;
+        return 4096;

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org