1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00
serenity/LibC
Andreas Kling 6785250f8c LibC: realloc() should reuse the existing allocation more often.
We were only reusing the existing allocation if the new requested size
was exactly the same as the fudged size of the block. This meant that
realloc() could allocate a new block even though the new block would be
identical to the old block.
2019-05-29 06:31:28 +02:00
..
arpa Add clang-format file 2019-05-28 17:31:20 +02:00
netinet Add clang-format file 2019-05-28 17:31:20 +02:00
sys LibC: Don't define ALWAYS_INLINE if it's already defined. 2019-05-28 21:04:47 +02:00
.gitignore LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
alloca.h Add clang-format file 2019-05-28 17:31:20 +02:00
assert.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
assert.h Add clang-format file 2019-05-28 17:31:20 +02:00
crt0.cpp LibC: Some compat fixes for GNU make. 2019-05-22 13:21:49 +02:00
crti.S LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
crtn.S LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
ctype.cpp LibC: Bring the C library close enough to newlib to trick GCC. 2019-04-17 23:16:16 +02:00
ctype.h Add clang-format file 2019-05-28 17:31:20 +02:00
dirent.cpp Kernel+LibC: Don't crash upon traversal of large directories. 2019-03-20 18:31:12 +01:00
dirent.h Add clang-format file 2019-05-28 17:31:20 +02:00
dlfcn.cpp LibC: Make dlfcn stubs extern "C" like the outside world expects. 2019-05-28 14:30:55 +02:00
dlfcn.h Add clang-format file 2019-05-28 17:31:20 +02:00
endian.h Lots of minor compat stuff while seeing if bash would build. 2018-11-05 16:40:48 +01:00
errno.h Add clang-format file 2019-05-28 17:31:20 +02:00
errno_numbers.h Add clang-format file 2019-05-28 17:31:20 +02:00
fcntl.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
fcntl.h LibC: fcntl.h should define F_RDLCK. 2019-05-28 21:02:31 +02:00
fd_set.h More compat work. Rename libraries from LibFoo.a => libfoo.a 2019-02-26 13:30:57 +01:00
float.h LibC: Implement enough missing stuff to get bash-5.0 running. :^) 2019-02-08 02:38:21 +01:00
getopt.cpp Fix all current build warnings in LibC. 2018-11-09 10:09:46 +01:00
getopt.h Enough compatibility work to make figlet build and run! 2018-10-31 17:52:59 +01:00
grp.cpp LibC: Add mmap_with_name() that names the allocation immediately. 2019-05-19 15:54:56 +02:00
grp.h Add some basic setgroups(), getgroups() and initgroups(). 2018-11-07 01:38:51 +01:00
iconv.h Add clang-format file 2019-05-28 17:31:20 +02:00
install.sh LibC: Run constructors on process startup. 2019-03-27 12:48:21 +01:00
inttypes.h LibC: Add ungetc() and automatically flush streams on fclose(). 2019-03-27 01:40:55 +01:00
ioctl.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
limits.h LibC: Add ungetc() and automatically flush streams on fclose(). 2019-03-27 01:40:55 +01:00
locale.cpp LibC: Return a default locale from localeconv(). (For GCC 8.3.0) 2019-04-22 13:00:59 +02:00
locale.h Add clang-format file 2019-05-28 17:31:20 +02:00
Makefile LibC: Stub out dlfcn 2019-05-23 16:57:34 +02:00
malloc.cpp LibC: realloc() should reuse the existing allocation more often. 2019-05-29 06:31:28 +02:00
memory.h LibC: First pass of compat work / stubs while trying to build OpenSSL. 2019-05-21 21:36:08 +02:00
mman.cpp LibC: Add mmap_with_name() that names the allocation immediately. 2019-05-19 15:54:56 +02:00
mman.h Add clang-format file 2019-05-28 17:31:20 +02:00
mntent.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
mntent.h Add clang-format file 2019-05-28 17:31:20 +02:00
netdb.cpp Move NetworkOrdered.h to AK/ since it's used in both kernel and userspace. 2019-04-02 20:04:54 +02:00
netdb.h Add clang-format file 2019-05-28 17:31:20 +02:00
poll.cpp Stub out poll() syscall and LibC wrapper. 2019-01-23 07:28:25 +01:00
poll.h Add clang-format file 2019-05-28 17:31:20 +02:00
pthread.h Add clang-format file 2019-05-28 17:31:20 +02:00
pwd.cpp LibC: Add mmap_with_name() that names the allocation immediately. 2019-05-19 15:54:56 +02:00
pwd.h Add getpwent() family of functions to LibC. 2018-10-31 19:54:25 +01:00
qsort.cpp Make it possible to sort a GTableModel by column+order. 2019-03-09 13:33:52 +01:00
scanf.cpp LibC: Fix bug in scanf() family where we'd capture invalid data. 2019-03-20 15:29:04 +01:00
sched.cpp LibC: Add sched_yield(), needed for GCC 8.3.0 build. 2019-04-22 00:13:41 +02:00
sched.h LibC: Add sched_yield(), needed for GCC 8.3.0 build. 2019-04-22 00:13:41 +02:00
serenity.h Add clang-format file 2019-05-28 17:31:20 +02:00
setjmp.h Add clang-format file 2019-05-28 17:31:20 +02:00
setjmp.S LibC: Port setjmp syntax to avoid nasm dependency 2019-05-23 13:06:59 +02:00
SharedBuffer.cpp Taskbar: More bringup work. We now see a basic window list. 2019-04-04 01:44:35 +02:00
SharedBuffer.h Add clang-format file 2019-05-28 17:31:20 +02:00
signal.cpp LibC: Let the string for SIGFPE be "Division by zero". 2019-05-26 02:35:25 +02:00
signal.h Add clang-format file 2019-05-28 17:31:20 +02:00
signal_numbers.h Add clang-format file 2019-05-28 17:31:20 +02:00
stat.cpp Kernel+Userland: Implement fchmod() syscall and use it to improve /bin/cp. 2019-03-01 10:39:19 +01:00
stdarg.h Add clang-format file 2019-05-28 17:31:20 +02:00
stdbool.h Add clang-format file 2019-05-28 17:31:20 +02:00
stddef.h Add clang-format file 2019-05-28 17:31:20 +02:00
stdint.h Add clang-format file 2019-05-28 17:31:20 +02:00
stdio.cpp LibC: Some compat fixes for GNU make. 2019-05-22 13:21:49 +02:00
stdio.h Add clang-format file 2019-05-28 17:31:20 +02:00
stdlib.cpp LibC: Implement abort() as raise(SIGABRT). 2019-05-26 02:35:25 +02:00
stdlib.h Add clang-format file 2019-05-28 17:31:20 +02:00
string.cpp LibC: Implement str{n}casecmp 2019-05-16 14:03:49 +02:00
string.h Add clang-format file 2019-05-28 17:31:20 +02:00
strings.cpp Compat work towards porting vim. 2019-02-26 15:57:59 +01:00
strings.h LibC: A bunch of compat work towards porting GCC. 2019-02-24 15:20:07 +01:00
termcap.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
termcap.h Add clang-format file 2019-05-28 17:31:20 +02:00
termios.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
termios.h Add clang-format file 2019-05-28 17:31:20 +02:00
time.cpp LibC: Implement clock() and add CLOCKS_PER_SEC define. 2019-05-17 20:19:03 +02:00
time.h Add clang-format file 2019-05-28 17:31:20 +02:00
times.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
ulimit.cpp Put assertions behind a DEBUG flag to make it easy to build without them. 2019-04-23 21:52:02 +02:00
ulimit.h Add clang-format file 2019-05-28 17:31:20 +02:00
unistd.cpp LibC: Add stub for fsync(). 2019-05-19 19:54:20 +02:00
unistd.h Add clang-format file 2019-05-28 17:31:20 +02:00
utime.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
utime.h Add clang-format file 2019-05-28 17:31:20 +02:00
utmp.h Add clang-format file 2019-05-28 17:31:20 +02:00
utsname.cpp Make syscall invocations look pleasant. 2018-12-21 03:02:06 +01:00
wchar.h Add clang-format file 2019-05-28 17:31:20 +02:00