cosmopolitan/libc/dns
Justine Tunney ff77f2a6af
Make improvements
- This change fixes a bug that allowed unbuffered printf() output (to
  streams like stderr) to be truncated. This regression was introduced
  some time between now and the last release.

- POSIX specifies all functions as thread safe by default. This change
  works towards cleaning up our use of the @threadsafe / @threadunsafe
  documentation annotations to reflect that. The goal is (1) to use
  @threadunsafe to document functions which POSIX say needn't be thread
  safe, and (2) use @threadsafe to document functions that we chose to
  implement as thread safe even though POSIX didn't mandate it.

- Tidy up the clock_gettime() implementation. We're now trying out a
  cleaner approach to system call support that aims to maintain the
  Linux errno convention as long as possible. This also fixes bugs that
  existed previously, where the vDSO errno wasn't being translated
  properly. The gettimeofday() system call is now a wrapper for
  clock_gettime(), which reduces bloat in apps that use both.

- The recently-introduced improvements to the execute bit on Windows has
  had bugs fixed. access(X_OK) on a directory on Windows now succeeds.
  fstat() will now perform the MZ/#! ReadFile() operation correctly.

- Windows.h is no longer included in libc/isystem/, because it confused
  PCRE's build system into thinking Cosmopolitan is a WIN32 platform.
  Cosmo's Windows.h polyfill was never even really that good, since it
  only defines a subset of the subset of WIN32 APIs that Cosmo defines.

- The setlongerjmp() / longerjmp() APIs are removed. While they're nice
  APIs that are superior to the standardized setjmp / longjmp functions,
  they weren't superior enough to not be dead code in the monorepo. If
  you use these APIs, please file an issue and they'll be restored.

- The .com appending magic has now been removed from APE Loader.
2023-10-03 06:17:16 -07:00
..
comparednsnames.c Make minor improvements 2021-05-15 21:53:26 -07:00
consts.h Merge HTTP request / response parsing code 2021-06-27 17:04:32 -07:00
dns.h Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
dns.mk Clean up more code 2023-06-18 01:00:05 -07:00
dns.png Losslessly recompress PNG files (#877) 2023-07-31 17:59:16 -07:00
dnsheader.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
dnsheader.h Make minor improvements 2021-05-15 21:53:26 -07:00
dnsquestion.h Make minor improvements 2021-05-15 21:53:26 -07:00
ent.h Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
freeaddrinfo.c Make improvements 2023-10-03 06:17:16 -07:00
gai_strerror.c Rename eai2str to gai_strerror (#131) 2021-03-20 20:48:40 -07:00
getaddrinfo.c Make improvements 2023-10-03 06:17:16 -07:00
gethostbyaddr.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
gethostbyname.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
gethoststxt.c Make improvements 2023-10-03 06:17:16 -07:00
getnameinfo.c Fix warnings 2023-09-01 20:50:18 -07:00
getntnameservers.c Fix DNS resolution w/ commas in Windows Registry 2022-12-11 14:30:59 -08:00
getntprotocolstxtpath.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
getntservicestxtpath.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
getprotobyname.c Unbloat the build 2022-08-11 00:15:29 -07:00
getprotobynumber.c Unbloat the build 2022-08-11 00:15:29 -07:00
getresolvconf.c Make improvements 2023-10-03 06:17:16 -07:00
getservbyname.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
getservbyport.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
getsystemdirectorypath.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
h_errno.c Improve system calls 2022-07-08 06:42:03 -07:00
herror.c Improve system calls 2022-07-08 06:42:03 -07:00
hostent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
hoststxt.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
hstrerror.c Improve system calls 2022-07-08 06:42:03 -07:00
lookupprotobyname.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
lookupprotobynumber.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
lookupservicesbyname.c Make improvements 2023-10-03 06:17:16 -07:00
lookupservicesbyport.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
netent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
newaddrinfo.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
parsehoststxt.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
parseresolvconf.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
pascalifydnsname.c Make minor improvements 2021-05-15 21:53:26 -07:00
protoent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
prototxt.h Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
resolvconf.h Make minor improvements 2021-05-15 21:53:26 -07:00
resolvedns.c Make improvements 2023-07-10 04:35:14 -07:00
resolvednsreverse.c Improve cosmo's conformance to libc-test 2022-10-10 17:52:41 -07:00
resolvehostsreverse.c Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00
resolvehoststxt.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
rfc0226.txt Initial import 2020-06-15 07:18:57 -07:00
rfc0247.txt Initial import 2020-06-15 07:18:57 -07:00
rfc1035.txt Initial import 2020-06-15 07:18:57 -07:00
serializednsquestion.c Make minor improvements 2021-05-15 21:53:26 -07:00
servent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
servicestxt.h Perform inconsequential code cleanup 2023-08-07 20:24:50 -07:00