nuttx/libs/libc
chenrun1 0a4770b44a lib_remove:Repair the logical judgment
Summary:
  When the deleted path is a file, the return value of get_errno is -EISDIR, so in Condition Two
(get_errno() ! = EPERM && /* .... . try to remove it. */
       rmdir(path) ! = 0)
The judgment holds directly, so it can't actually execute to rmdir

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-08-20 13:50:15 +08:00
..
aio
assert cmake:bugfix fix CMake LTO build block 2024-08-15 18:01:50 +08:00
audio
bin
builtin
ctype
dirent
dlfcn dlfcn: Fix indent issue in lib_dlopen.c 2024-07-27 03:11:39 +08:00
errno
eventfd
fdt
fixedmath
gdbstub gdbstub: Minor style fix 2024-06-26 10:19:14 -03:00
gpsutils
grp
hex2bin
inttypes
kbin
libgen
locale
lzf
machine cmake:bugfix enable ARCH_STRING_FUNCTION CMake build fail 2024-08-14 20:58:59 +08:00
misc idr:New idr_find interface 2024-08-19 11:05:40 -03:00
modlib greenhills: fix the moblib asm compile error 2024-08-11 14:28:12 -03:00
net libc/net: Fix indent issue in lib_base64.c 2024-07-27 03:11:39 +08:00
netdb
obstack
pthread libs: fix the default value of process-shared attribute 2024-08-18 19:44:56 +08:00
pwd build: Fix libc/pwd CMakeLists.txt 2024-08-07 08:45:19 +08:00
queue
regex
sched
search
semaphore sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
signal
spawn
stdio lib_remove:Repair the logical judgment 2024-08-20 13:50:15 +08:00
stdlib mkstemp: permission 0666 to 0600 2024-07-02 02:56:05 +08:00
stream
string libc:add missing source to fix windows build error 2024-08-14 22:36:57 +08:00
symtab
syslog
termios
time
tls
uio
unistd getrlimit:implement RLIMIT_STACK return limit stack size 2024-08-19 19:55:59 +08:00
userfs
uuid
wchar
wctype
wqueue
zoneinfo
.gitignore
CMakeLists.txt
Kconfig
libc.csv pthread: add pthread_self/pthread_gettid_np function 2024-06-26 17:40:55 +08:00
libc.h
Makefile