sortix-mirror/libc
Juhani Krekelä 610b51ffdc Fix getopt_long(3) handling of required argument at the end of argv.
Previously if argv ended with a long option that required an argument
followed by said argument, getopt_long(3) would generate an error saying
that the option requires an argument even though it was provided. This
was because the comparison of optind against argc did not account for
the fact that optind had already been incremented, causing an
off-by-one.
2023-05-16 02:17:22 +03:00
..
arpa/inet Fix inet_pton(3) parsing 1:: and ::1.2.3.4 cases. 2020-08-01 14:23:44 +02:00
assert Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
blf Convert libc to C. 2016-03-03 23:02:23 +01:00
c++ Compile libc with -ffreestanding. 2016-05-15 22:43:29 +02:00
ctype Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dirent Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dlfcn Make the branding system more neutral. 2016-05-15 22:43:29 +02:00
err Add errc(3) family. 2016-11-06 15:31:52 -06:00
errno Clean up errno. 2016-05-15 22:43:29 +02:00
error Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fcntl Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fnmatch Fix shift out of bounds in fnmatch(3). 2016-05-15 19:30:51 +02:00
fsmarshall Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fstab Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
getopt Fix getopt_long(3) handling of required argument at the end of argv. 2023-05-16 02:17:22 +03:00
glob Add glob(3). 2023-03-16 00:20:43 +01:00
grp Add include and comment support to passwd(5) and group(5). 2023-03-19 21:53:21 +01:00
ifaddrs Add getifaddrs(3) and freeifaddrs(3). 2023-01-10 22:31:48 +01:00
include Add sub_leap_seconds(3) and add_leap_seconds(3). 2023-03-27 00:06:33 +02:00
init Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
inttypes Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ioleast Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
langinfo Add nl_langinfo(3). 2016-10-03 20:02:12 +02:00
libgen Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
locale Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
malloc Fix double declaration of __heap_mutex. 2016-10-17 18:38:04 +02:00
memusage Add memusage(2). 2023-03-09 20:27:17 +01:00
msr Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
net/if Add if_nameindex(3). 2022-12-16 23:44:50 +01:00
netdb Add AI_ADDRCONFIG to getaddrinfo(3). 2023-03-19 21:56:54 +01:00
netinet Add networking stack. 2022-12-11 13:40:34 +01:00
poll Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
psctl Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pthread Fix deadlocks and lost wakeups in threading primitives. 2022-12-10 21:29:23 +01:00
pty Add openpty(3). 2016-11-23 22:31:05 +01:00
pwd Add include and comment support to passwd(5) and group(5). 2023-03-19 21:53:21 +01:00
regex Add REG_STARTEND. 2016-10-30 18:08:59 +01:00
sched Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
scram Document scram(2). 2017-02-12 13:59:07 +01:00
semaphore Implement threading primitives that truly sleep. 2021-06-23 22:10:47 +02:00
sha2 Add <sha2.h>. 2020-04-13 22:15:04 +02:00
signal Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ssp Add __stack_chk_fail_local needed by some architectures. 2021-12-12 22:13:05 +01:00
stdio Fix fmemopen(3) fseeko(3) overflow detection. 2023-03-19 11:08:01 +01:00
stdio_ext Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stdlib Fix ptsname_r return value 2023-02-22 17:25:01 +00:00
string Add EHOSTDOWN. 2022-12-04 23:18:17 +01:00
sys Add dhclient(8). 2023-02-21 23:24:06 +01:00
syslog Implement RFC5424 syslog version 1. 2022-01-05 22:00:53 +01:00
termios Add pseudo terminals. 2016-11-23 22:31:05 +01:00
time Fix strftime(3) %I off by one. 2023-04-04 20:44:38 +02:00
timespec Fix handling of overflow and non-canonical values in timespec APIs. 2021-06-22 21:48:27 +02:00
ubsan Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
unistd Fix ttyname_r error return values 2023-02-21 23:22:11 +00:00
utime Fix utime(3) not handling times being NULL. 2022-09-18 23:21:04 +02:00
wchar Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wctype Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
x64 Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
x86 Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
.gitignore Add <sha2.h>. 2020-04-13 22:15:04 +02:00
Makefile Add sub_leap_seconds(3) and add_leap_seconds(3). 2023-03-27 00:06:33 +02:00