Cleanup the last Windows / MSC ifdefs and comments

Cleanup the remnants of MS Compiler bits from <isc/refcount.h>, printing
the information in named/main.c, and cleanup some comments about Windows
that no longer apply.

The bits in picohttpparser.{h,c} were left out, because it's not our
code.
This commit is contained in:
Ondřej Surý
2023-03-30 17:35:00 +02:00
parent 01218f16e2
commit 4ec9c4a1db
10 changed files with 8 additions and 62 deletions

View File

@@ -160,9 +160,8 @@ cleanup(void) {
/*
* Restore working directory if possible before cleaning
* up the key directory. This will help with any other
* cleanup routines and if this code is ever run under
* Windows as the directory should not be in use when
* rmdir() is called.
* cleanup routines as the directory should not be in use
* when rmdir() is called.
*/
if (pwd != NULL && chdir(pwd) != 0) {
fprintf(stderr, "can't restore working directory: %s\n",