projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c675c9e
)
修改fsclose与socketclose混淆错误导致的文件系统问题,包括文字及表情
2980/1
2980/head
2981/target/1
author
hcj
<1224667075@qq.com>
Fri, 26 Dec 2025 11:04:21 +0000
(19:04 +0800)
committer
hcj
<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
patch
|
blob
|
history
code/sdk/open_source/openharmony/third_party/lwip/lwip_adapter/liteos/src/include/lwip/lwipopts_default.h
patch
|
blob
|
history
diff --git
a/code/sdk/middleware/utils/fs/vfs/nuttx_fs/vfs/operation/fs_close.c
b/code/sdk/middleware/utils/fs/vfs/nuttx_fs/vfs/operation/fs_close.c
index
63b88c7
..
1cc0e67
100644
(file)
--- a/
code/sdk/middleware/utils/fs/vfs/nuttx_fs/vfs/operation/fs_close.c
+++ b/
code/sdk/middleware/utils/fs/vfs/nuttx_fs/vfs/operation/fs_close.c
@@
-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);
diff --git
a/code/sdk/open_source/openharmony/third_party/lwip/lwip_adapter/liteos/src/include/lwip/lwipopts_default.h
b/code/sdk/open_source/openharmony/third_party/lwip/lwip_adapter/liteos/src/include/lwip/lwipopts_default.h
index
e5d6a5c
..
13eae91
100644
(file)
--- a/
code/sdk/open_source/openharmony/third_party/lwip/lwip_adapter/liteos/src/include/lwip/lwipopts_default.h
+++ b/
code/sdk/open_source/openharmony/third_party/lwip/lwip_adapter/liteos/src/include/lwip/lwipopts_default.h
@@
-1217,7
+1217,7
@@
extern "C" {
#endif
#ifndef LWIP_COMPAT_SOCKETS
-#define LWIP_COMPAT_SOCKETS
2
+#define LWIP_COMPAT_SOCKETS
1
#define LWIP_POSIX_SOCKETS_IO_NAMES 0
#endif