Commit Graph

20485 Commits

Author SHA1 Message Date
thorpej 02edde8aa3 Version the sigaction(2) libc wrapper. The new version uses the "siginfo"
trampoline exclusively, thus relegating "sigcontext"-style handlers (which
have not been documented for many years now) to the dustbin of the compat
library.
2021-11-01 05:53:45 +00:00
thorpej 2b286a53d4 Don't mention the "struct sigaltstack" name of "stack_t". 2021-11-01 05:29:35 +00:00
agc 2c1df105e9 Remove the
COPTS.*+=       -Wno-error=.*

lines for building argon2 sources, by fixing the problems at source.

Addresses Rin Okuyama's concerns on tech-userlevel/tech-crypto in

	Message-ID: <f1eab199-3607-bb05-15cc-033e38721ba4@gmail.com>
2021-11-01 03:09:58 +00:00
thorpej 0d8e07b5c7 Tidy up how __sigaction14_sigtramp.c is added to SRCS. 2021-10-31 22:24:34 +00:00
nia 9c5ddbe34d libcrypt: Compile with USE_FORT, for this is cryptographic software. 2021-10-31 09:16:08 +00:00
christos 7a6d5cb630 Put back the sigcontext sigtramp code. 2021-10-30 21:39:28 +00:00
nia e2fa600c84 pam_exec: Convert realloc(x * y) to reallocarr.
Eliminate a now-redundant temporary variable.
2021-10-30 11:34:59 +00:00
nia b893c4d5e4 libtelnet: convert malloc(x * y) to reallocarr 2021-10-30 10:46:57 +00:00
nia 8221e07e84 puffs(3): Replace realloc(x * y) with reallocarr 2021-10-30 10:34:18 +00:00
nia 31c52db692 refuse(3): Simplify reallocation logic with reallocarr. 2021-10-30 09:06:34 +00:00
kre f3643917bc Add "--" 'options end' parameter to the sh -c call that runs the
command, so that the command cannot appear to be more options
(which always then fails, as there would be no arg for "-c" to
treat as the command string in that case).

For the full (LONG) explanation, see:
   http://mail-index.netbsd.org/current-users/2021/10/29/msg041629.html
2021-10-29 19:27:06 +00:00
nia 129cb9a54f libcrypt: Fix a floating point exception when a low number of HMAC-SHA1
iterations are specified.
2021-10-29 13:22:08 +00:00
nia 99f42ade26 reallocarr does not set errno. 2021-10-29 11:03:46 +00:00
nia 7ab7c5f604 citrus: Use calloc instead of malloc'ing and clearing the array manually 2021-10-29 10:54:56 +00:00
nia 2ee81e7b06 scandir(3): Convert malloc(x * y) and realloc(x * y) to reallocarr 2021-10-29 10:40:00 +00:00
nia 1aca51f7f5 radixsort(3): use reallocarr instead of malloc(x * y) 2021-10-29 10:29:51 +00:00
nia 46bf9c16cb wcsdup(3): use reallocarr to catch integer overflow 2021-10-29 10:11:57 +00:00
riastradh 436ee50286 Fix typo in comment: allows, not alows.
I don't know what an alow is, maybe some cousin of the alot.
Awaiting a nature documentary by Allie Brosh about these perhaps more
elusive beasts.

PR misc/56473, from jschauma
2021-10-28 20:56:32 +00:00
kim 3590d12b68 Use .Sq instead of a dangling .So 2021-10-28 09:51:39 +00:00
nia f76dddbc66 getaddrinfo(3): malloc + memset -> calloc 2021-10-27 19:24:38 +00:00
christos 1971734547 fix problem with uninitialized variable on malformed 32 bit time. 2021-10-27 11:27:25 +00:00
thorpej 5184898635 - Use the signal trampoline version constants from <sys/signal.h>.
- Declare the sigtramp externs as as char arrays, not int arrays; not all
  platforms have fixed-sized 32-bit instructions.
2021-10-27 04:48:33 +00:00
nia 78b3fd4666 libcrypt: Make Werror-disables for external Argon2 library per-file.
Requested by rin.
2021-10-26 20:37:18 +00:00
christos 0faead2ffb Merge all MD __sigaction14_sigtramp.c copies into one:
- sparc and sparc64 were not using version 0 sigcontext when there were
  no arguments in the signal version. This was probably a bug.
- vax is using +1 the version numbers of the other archs.
- Only hppa was defining __LIBC12_SOURCE__ so it was getting a working
  sigcontext before. all the other ports that supported sigcontext had
  the compat code disabled.
[pointed out by thorpej, thanks!]
If we want to remove sigcontext support from userland at least now there
is less work to do so.
2021-10-26 16:16:34 +00:00
nia 1008642e66 libcrypt: fine-grained warnings for argon2, requested by rin 2021-10-26 07:51:23 +00:00
blymn d84a936f4b Fix for PR lib/47398
Move cursor to end of the currently active field and sync the cursor
location so the cursor get positioned correctly when the form window
is refreshed.
2021-10-25 06:25:18 +00:00
gutteridge e036c8bd09 setlocale.3: minor updates to reflect the current implementation
Reflect a couple of amendments noted by John Marino on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2021/10/19/msg013091.html
2021-10-24 17:30:19 +00:00
thorpej d5b8844629 Add support for the EVFILT_EMPTY filter, which is activated when the
write buffer associated with the file descriptor is empty.  This is
currently implemented only for sockets, and is intended primarily to
provide visibility to applications that all previously written data
has been acknowledged by the TCP layer on the receiver.  Compatible
with the same filter in FreeBSD.
2021-10-23 01:28:33 +00:00
ryoon e41648e26b Fix build failure
* Fix merge mistake.
* Cast to int for strict comparison like before.
2021-10-22 16:57:14 +00:00
christos 1b58480149 Change to code and documentation from 2021a -> 2021e
Release 2021e - 2021-10-21 18:41:00 -0700

  Changes to code

    none


Release 2021d - 2021-10-15 13:48:18 -0700

  Changes to code

    'zic -r' now uses "-00" time zone abbreviations for intervals
    with UT offsets that are unspecified due to -r truncation.
    This implements a change in draft Internet RFC 8536bis.


Release 2021c - 2021-10-01 14:21:49 -0700

  Changes to code

    Fix a bug in 'zic -b fat' that caused old timestamps to be
    mishandled in 32-bit-only readers (problem reported by Daniel
    Fischer).

  Changes to documentation

    Distribute the SECURITY file (problem reported by Andreas Radke).


Release 2021b - 2021-09-24 16:23:00 -0700

  Changes to maintenance procedure

    The new file SECURITY covers how to report security-related bugs.

    Several backward-compatibility links have been moved to the
    'backward' file.  These links, which range from Africa/Addis_Ababa
    to Pacific/Saipan, are only for compatibility with now-obsolete
    guidelines suggesting an entry for every ISO 3166 code.
    The intercontinental convenience links Asia/Istanbul and
    Europe/Nicosia have also been moved to 'backward'.

  Changes to code

    zic now creates each output file or link atomically,
    possibly by creating a temporary file and then renaming it.
    This avoids races where a TZ setting would temporarily stop
    working while zic was installing a replacement file or link.

    zic -L no longer omits the POSIX TZ string in its output.
    Starting with 2020a, zic -L truncated its output according to the
    "Expires" directive or "#expires" comment in the leapseconds file.
    The resulting TZif files omitted daylight saving transitions after
    the leap second table expired, which led to far less-accurate
    predictions of times after the expiry.  Although future timestamps
    cannot be converted accurately in the presence of leap seconds, it
    is more accurate to convert near-future timestamps with a few
    seconds error than with an hour error, so zic -L no longer
    truncates output in this way.

    Instead, when zic -L is given the "Expires" directive, it now
    outputs the expiration by appending a no-change entry to the leap
    second table.  Although this should work well with most TZif
    readers, it does not conform to Internet RFC 8536 and some pickier
    clients (including tzdb 2017c through 2021a) reject it, so
    "Expires" directives are currently disabled by default.  To enable
    them, set the EXPIRES_LINE Makefile variable.  If a TZif file uses
    this new feature it is marked with a new TZif version number 4,
    a format intended to be documented in a successor to RFC 8536.

    zic -L LEAPFILE -r @LO no longer generates an invalid TZif file
    that omits leap second information for the range LO..B when LO
    falls between two leap seconds A and B.  Instead, it generates a
    TZif version 4 file that represents the previously-missing
    information.

    The TZif reader now allows the leap second table to begin with a
    correction other than -1 or +1, and to contain adjacent
    transitions with equal corrections.  This supports TZif version 4.

    The TZif reader now lets leap seconds occur less than 28 days
    apart.  This supports possible future TZif extensions.

    Fix bug that caused 'localtime' etc. to crash when TZ was
    set to a all-year DST string like "EST5EDT4,0/0,J365/25" that does
    not conform to POSIX but does conform to Internet RFC 8536.

    Fix another bug that caused 'localtime' etc. to crash when TZ was
    set to a POSIX-conforming but unusual TZ string like
    "EST5EDT4,0/0,J365/0", where almost all the year is DST.

    Fix yet another bug that caused 'localtime' etc. to mishandle slim
    TZif files containing leap seconds after the last explicit
    transition in the table, or when handling far-future timestamps
    in slim TZif files lacking leap seconds.

    Fix localtime misbehavior involving positive leap seconds.
    This change affects only behavior for "right" system time,
    which contains leap seconds, and only if the UT offset is
    not a multiple of 60 seconds when a positive leap second occurs.
    (No such timezone exists in tzdb, luckily.)  Without the fix,
    the timestamp was ambiguous during a positive leap second.
    With the fix, any seconds occurring after a positive leap second
    and within the same localtime minute are counted through 60, not
    through 59; their UT offset (tm_gmtoff) is the same as before.
    Here is how the fix affects timestamps in a timezone with UT
    offset +01:23:45 (5025 seconds) and with a positive leap second at
    1972-06-30 23:59:60 UTC (78796800):

	time_t    without the fix      with the fix
	78796800  1972-07-01 01:23:45  1972-07-01 01:23:45 (leap second)
	78796801  1972-07-01 01:23:45  1972-07-01 01:23:46
	...
	78796815  1972-07-01 01:23:59  1972-07-01 01:23:60
	78796816  1972-07-01 01:24:00  1972-07-01 01:24:00

    Fix an unlikely bug that caused 'localtime' etc. to misbehave if
    civil time changes a few seconds before time_t wraps around, when
    leap seconds are enabled.

    Fix bug in zic -r; in some cases, the dummy time type after the
    last time transition disagreed with the TZ string, contrary to
    Internet RFC 8563 section 3.3.

    Fix a bug with 'zic -r @X' when X is a negative leap second that
    has a nonnegative correction.  Without the fix, the output file
    was truncated so that X appeared to be a positive leap second.
    Fix a similar, even-less-likely bug when truncating at a positive
    leap second that has a nonpositive correction.

    zic -r now reports an error if given rolling leap seconds, as this
    usage has never generally worked and is evidently unused.

    zic now generates a POSIX-conforming TZ string for TZif files
    where all-year DST is predicted for the indefinite future.
    For example, for all-year Eastern Daylight Time, zic now generates
    "XXX3EDT4,0/0,J365/23" where it previously generated
    "EST5EDT,0/0,J365/25" or "".  (Thanks to Michael Deckers for
    noting the possibility of POSIX conformance.)

    zic.c no longer requires sys/wait.h (thanks to spazmodius for
    noting it wasn't needed).

    When reading slim TZif files, zdump no longer mishandles leap
    seconds on the rare platforms where time_t counts leap seconds,
    fixing a bug introduced in 2014g.

    zdump -v now outputs timestamps at boundaries of what localtime
    and gmtime can represent, instead of the less-useful timestamps
    one day after the minimum and one day before the maximum.
    (Thanks to Arthur David Olson for prototype code, and to Manuela
    Friedrich for debugging help.)

    zdump's -c and -t options are now consistently inclusive for the
    lower time bound and exclusive for the upper.  Formerly they were
    inconsistent.  (Confusion noted by Martin Burnicki.)

  Changes to build procedure

    You can now compile with -DHAVE_MALLOC_ERRNO=0 to port to
    non-POSIX hosts where malloc doesn't set errno.
    (Problem reported by Jan Engelhardt.)

  Changes to documentation

    tzfile.5 better matches a draft successor to RFC 8536
    <https://datatracker.ietf.org/doc/draft-murchison-rfc8536bis/01/>.
2021-10-22 14:26:04 +00:00
andvar 6ff503baef Revert "Does not work" back to "Does no work". It wasn't a typo. 2021-10-21 21:35:02 +00:00
andvar 6f8dc1509f fix various typos, mainly in comments, but also in man pages and log messages. 2021-10-21 13:21:53 +00:00
nia 58856d1265 crypt.3: add a reference for Argon2 2021-10-20 20:29:33 +00:00
nia cb1631f686 Be a little bit more eager to let Argon2 use memory. 2021-10-20 20:21:44 +00:00
nia ac4429015a crypt(3): For argon2, default to time=3.
Good enough for a 50MHz SPARC, a shark, and the spec.
2021-10-20 16:46:33 +00:00
nia 364b5e2621 crypt(3): return 0 -> return NULL for function returning char * 2021-10-20 15:35:42 +00:00
nia 08100292d3 crypt(3): Adapt default Argon2 parameters to system performance
If the parameters are unspecified:

- Set the default memory consumption based on the amount of memory
available to userspace.

The algorithm actually slows down incredibly quickly as the "memory"
parameter is increased. We want to avoid running out of memory on low
memory systems, but increase the difficulty of bruteforcing passwords
from systems with a lot of memory. At the same time, we want to avoid
problems when concurrent logins are happening.

- Run a hashing loop for one second with steadily increasing "time"
until we settle on a value for "time". We want to use as much CPU time
as reasonable for computing the password hash without making logins
inconvenient.
2021-10-20 13:03:29 +00:00
thorpej 56265c7c8b Oops, forgot to note the history of NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE,
and NOTE_READ.
2021-10-20 03:26:20 +00:00
thorpej 982ae832c3 Overhaul of the EVFILT_VNODE kevent(2) filter:
- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.
2021-10-20 03:08:16 +00:00
blymn 5b90c1a33c Fix for PR lib/47397
Fix a misinterpretation of the role of field fore and back.  Now field
pad is rendered in the back attribute always instead of only being used
for the non-current field.
2021-10-19 21:22:20 +00:00
blymn 63621d5a6b Add a bit more debug. 2021-10-19 06:41:03 +00:00
blymn 669adb1459 Fix for PR pkg/55931
Don't move the cursor when getch is called if input is not going to
be echoed.  Lynx uses the cursor to mark the current selection in a
pop-up, previously the cursor was being relocated when getch was called
which broke the Lynx item marking.
2021-10-19 06:37:29 +00:00
nia f9151ba943 libcrypt: Hide more private symbols by default. Fix style. 2021-10-16 10:53:33 +00:00
nia 6d05989be6 libcrypt: work around compiler bugs to get MKARGON2 working on vax 2021-10-13 14:28:32 +00:00
thorpej dbceac44db Add support for the NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS,
NOTE_NSECONDS, and NOTE_ABSTIME filter flags to EVFILT_TIMER,
API-compatible with the same in FreeBSD.
2021-10-13 04:57:19 +00:00
wiz 0fe65de003 Capitalize word. 2021-10-12 21:41:13 +00:00
nia a5ad08a454 crypt.3: note parallelism caveats 2021-10-12 17:27:26 +00:00
nia 87c3d6fe5c Fix release builds with MKARGON2=yes
This changes argon2 from a separately built library into a private
dependency of libcrypt and removes the argon2(1) utility (we already
have pwhash(1)). Giving libcrypt more library dependencies
complicates things (e.g. libcrypt is a dependency of openssl).
pthreads support gets disabled in argon2 for similar reasons.

For testing argon2, we rely on the libcrypt test suite.
2021-10-12 17:24:36 +00:00
jhigh 2e485d4ad8 added missing copyright header. pointed out by nia. no functional change 2021-10-12 15:55:31 +00:00
nia d90c3514dd crypt(3): clean up some leftover debug goo 2021-10-12 15:27:41 +00:00
nia f7145efd49 crypt(3): match the Argon2 reference implementation's Base64 exactly
There are too many minor variations regarding padding and exact alphabet
to safely use the implementation in libc or an existing implementation
in libcrypt.
2021-10-12 15:25:39 +00:00
andvar da66f63158 fix typos in man pages. 2021-10-12 15:25:27 +00:00
nia 80833458d2 crypt(3): Make Argon2 implementation match the reference impl by
making sure input salts are decoded as base64.
2021-10-12 13:24:00 +00:00
nia b073515511 paranoia: use explicit_memset 2021-10-12 12:11:04 +00:00
nia b4ff5a1e43 pw_gensalt.3: add argon2 bits 2021-10-12 12:03:47 +00:00
nia 88cf501805 crypt-argon2: Properly honor user's version number.
Follow upstream by defaulting to 0x10 if it's not specified.
2021-10-12 10:51:33 +00:00
nia d595d5c387 crypt-argon2: improve resilience of the parser.
Allow the version number to be unspecified as in the argon2 upstream
test suite, properly defaulting to a version if the v= block is
entirely missing, and treating the remaining block as parameters.

Fix a null pointer derefence when the encoded password is unspecified
in the settings string.
2021-10-12 09:40:38 +00:00
skrll 07347931de Fix the lib/libc/setjmp/t_setjmp:{,_}longjmp_zero test cases 2021-10-07 06:44:18 +00:00
andvar 50d9072672 remove duplicate the article in comments. 2021-10-04 21:02:39 +00:00
andvar e49c2d1bf9 remove duplicate the article in documentation. 2021-10-04 14:35:20 +00:00
christos a8d8435dfa remove parameter names from decls. 2021-10-01 20:13:38 +00:00
christos 0d258229ce PR/56424: Clay Mayers: recvfrom() is not a cancelation point as documented
in pthread_setcanceltype.3
2021-10-01 17:13:44 +00:00
christos 30d43af96b kqueue(2) file descriptors are not inherited across fork(2). A
process that that calls getaddrinfo(3) will end up cacheing the
kqueue(2) file descriptor in its res_state structure. If that
process fork(2)s and calls getaddrinfo(3) again might end up closing
that cached file descriptor which can end up pointing to a different
file object than the kqueue(2) original one. To fix this, associate
the kqueue(2) file descriptor with the process id that created it,
and don't close(2) it if it is being closed from a different process.
An alternative fix would be to attach the resolver to a fork(2) hook
to cleanup the res_state, but handling it internally in the resolver
is less intrusive. This was discovered by Dima Veselov when using
the FreeRADIUS package.
2021-09-30 12:35:55 +00:00
kim ab14361c39 Remove duplicate tm_isdst. Fixes PR misc/56419 for HEAD. 2021-09-28 06:45:08 +00:00
christos 02a0eff7c2 make flag unsigned to match prototype of the function used 2021-09-26 13:45:54 +00:00
christos 5679adf871 - Completion should not add a quote at the end of the line to match an
already quoted quote. (Piotr Stefaniak)
- fix lint unconst warnings for strchr
2021-09-26 13:45:37 +00:00
uwe b2936eaaca Spell the number of nanoseconds as 10^9. Forgotten in previous. 2021-09-23 13:59:27 +00:00
uwe bdf1f075ab Minor markup tweaks. 2021-09-23 13:58:26 +00:00
uwe 2d69b1f036 Spell the number of nanoseconds as 10^9.
10^9 is 1e9 (it's "e" that spells 10 here), not 10e9.  The target
audience of this man page is not likely to be very fluent in floating
point, so avoid significand/exponent spelling and use the spelling
that it is familiar with.
2021-09-23 13:49:59 +00:00
uwe 0659be6c07 Markup fixes. 2021-09-23 13:16:13 +00:00
wiz 39710f2616 printf(3): mention snprintb(3) 2021-09-23 12:17:57 +00:00
andvar 5e3df9b71e s/Plese/Please/ in comment, and fix an article in obio_wdc.c comment. 2021-09-19 20:52:47 +00:00
wiz 3bbb788fd6 Sort errors, remove extra comma. 2021-09-19 17:10:41 +00:00
thorpej e714af64e3 Add native implementations of eventfd(2) and timerfd(2), compatible with
the Linux interfaces of the same name.
2021-09-19 15:51:27 +00:00
andvar c46bd13f44 some love to double letters (in comments). 2021-09-17 08:13:06 +00:00
christos fa0758113b Robustness fix: handle libraries that contain . in their basename. 2021-09-17 02:12:16 +00:00
andvar b58602814f fix typos in word "successful". 2021-09-16 22:19:10 +00:00
andvar 72e44f84cb fix typos in word "successfully", mainly s/succesfully/successfully/. 2021-09-16 21:29:41 +00:00
andvar b780d9b67b fix various typos, mainly in comments. 2021-09-16 20:17:46 +00:00
andvar 80f2027016 sysinst/partitions.h: fix typos comments, also fix same typos in other files. 2021-09-11 21:30:46 +00:00
andvar 207defd036 Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.
2021-09-11 20:28:03 +00:00
rillig 7f8984330e popen.3: move popenve from BUGS to HISTORY 2021-09-11 19:58:24 +00:00
rillig 26b8655ee8 fseek.3: fix grammar 2021-09-11 18:46:22 +00:00
christos 70764037a3 Ignore failed closes (if for example a closed file descriptor is passed as
a starting point). This is how the kernel behaves.
2021-09-11 14:23:04 +00:00
christos 42a6419698 remove fake closefrom() 2021-09-11 14:22:12 +00:00
rillig d539a31d62 librumphijack: fix typo for NetBSD < 5.99.7 2021-09-11 08:32:11 +00:00
christos 0c63703b78 Ignore closefrom(3) for now; too complicated to descern between regular
and rump fds.
2021-09-10 21:22:05 +00:00
christos 86d9720796 - implement pselect so that the ssh test has a chance to work
- 1 -> EXIT_FAILURE
- more info about fds
2021-09-10 20:33:38 +00:00
rillig b52ed19590 libedit: fix indentation
No change to the resulting object files.
2021-09-10 18:51:36 +00:00
christos 4fd19b1be2 Add an LLVM fuzzing wrapper for the portable libedit (Christian Holler) 2021-09-10 13:33:45 +00:00
christos 9b290a25b2 rl_startup_hook should be called each time. From Carlos Henrique Lima Melara 2021-09-10 13:29:06 +00:00
christos d6da975b02 fix memory issues found by fuzzing (double frees and buffer overflows) 2021-09-09 20:25:30 +00:00
christos e2b95d2cb4 Add casts to appease conversions between wchar_t and wint_t 2021-09-09 20:24:07 +00:00
rin a1122fa99f Do not compile in whole fileio.c for LIBHACK.
Fix build failure when built as libhack, due to missing fileio.h.

IMO, this should be cleaner than generating fileio.h for {get,put}win(3),
that are useless for install media.
2021-09-07 12:36:57 +00:00
rin 43ea4784d7 PR lib/56388
For __newwin() and __resizewin(), the line hash was calculated as if
HAVE_WCHAR is disabled.

Fix this bug by refactoring __hash_line() function, which calculates
the line hash by an appropriate method.
2021-09-07 01:23:09 +00:00
rin 31a83dd923 Always autogen fileio.h.
Bump CURSES_LIB_MAJOR.CURSES_LIB_MINOR to 9.0 belatedly.
2021-09-06 15:17:25 +00:00
rin b09154d5e3 Style fixes most for __CTRACE(). 2021-09-06 07:45:48 +00:00
rin e149a10083 Unifdef DEBUG for CTRACE(). 2021-09-06 07:08:25 +00:00
rin 0bd3a62045 Expand __CTRACE() to __nothing #ifndef DEBUG.
Remove most of #ifdef DEBUG around __CTRACE() calls.

No binary changes, except for line numbers for assert().
2021-09-06 07:03:49 +00:00
rin 39c0485813 Fix old-style definition: curses_version() --> curses_version(void) 2021-09-06 02:50:43 +00:00