修改fsclose与socketclose混淆错误导致的文件系统问题,包括文字及表情 2980/1 2980/head 2981/target/1
authorhcj <1224667075@qq.com>
Fri, 26 Dec 2025 11:04:21 +0000 (19:04 +0800)
committerhcj <1224667075@qq.com>
Fri, 26 Dec 2025 11:04:21 +0000 (19:04 +0800)
code/sdk/middleware/utils/fs/vfs/nuttx_fs/vfs/operation/fs_close.c
code/sdk/open_source/openharmony/third_party/lwip/lwip_adapter/liteos/src/include/lwip/lwipopts_default.h

index 63b88c7..1cc0e67 100644 (file)
@@ -89,8 +89,8 @@ int close(int fd)
   if ((unsigned int)fd >= CONFIG_NFILE_DESCRIPTORS)
     {
       /* Close a socket descriptor */
-
-#if 1
+#ifndef SUPPORT_RECOVERY_DISPLAY 
+// #if 1
       if (1)
         {
           ret = lwip_close(fd);