| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-04-19 | lib: remove CONSTCOND comment | rillig | |
| Since 2021-01-31, lint doesn't need it anymore for the common pattern of 'do ... while (0)'. | |||
| 2021-12-10 | s/occured/occurred/ in comments, log messages and man pages. | andvar | |
| 2020-02-21 | Avoid undefined behavior in *BIT macros | kamil | |
| hash_page.c:792:2, left shift of 1 by 31 places cannot be represented in type 'int' hash_page.c:855:2, left shift of 1 by 31 places cannot be represented in type 'int' hash_page.c:779:3, left shift of 1 by 31 places cannot be represented in type 'int' | |||
| 2019-10-05 | __dberr: tweak signature to make gcc8 -Wbad-function-cast happy about | uwe | |
| casts in __dbpanic. Admittedly this is a bit too "cute". | |||
| 2019-10-05 | __dbpanic: use the official DB typedef name in the casts. They were | uwe | |
| copied from the declaration point where it's not yet available. | |||
| 2019-05-26 | Fix typo: s/then/the | abhinav | |
| 2019-03-08 | s/ are are / are / | msaitoh | |
| s/ a a / a / | |||
| 2018-01-04 | Add bunch of missing includes of namespace.h in libc | kamil | |
| The NetBSD Standard C Library uses internally some of its functions with a mangled symbol name, usually "_symbol". The internal functions shall not use the global (public) symbols. This change eliminates usage of the global changes of the following symbols: - strlcat -> _strlcat - sysconf -> __sysconf - closedir -> _closedir - fparseln -> _fparseln - kill -> _kill - mkstemp -> _mkstemp - reallocarr -> _reallocarr - strcasecmp -> _strcasecmp - strncasecmp -> _strncasecmp - strptime -> _strptime - strtok_r -> _strtok_r - sysctl -> _sysctl - dlopen -> __dlopen - dlclose -> __dlclose - dlsym -> __dlsym Sponsored by <The NetBSD Foundation> | |||
| 2016-10-09 | Fix syntax for currently not compiled in code. From Henning Petersen in | joerg | |
| PR lib/51538. | |||
| 2016-09-24 | remove mpool_getf | christos | |
| 2016-09-24 | Merge the recursive tree traversal changes from the mit kerberos tree. This | christos | |
| Also make the tracefile customizable. Unfortunately we can't merge any of the hash changes because they have a different on-disk format. That does not matter really because we've fixed most of the problems... | |||
| 2016-09-24 | When writing out pages in the "other endian" format, make a copy instead of | christos | |
| trashing the in-memory one. | |||
| 2016-08-31 | don't shortcut closing if the metadata is dirty (from the krb5 tree) | christos | |
| 2015-11-18 | Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this | christos | |
| returns 0xffff to avoid overflow. This is used where sizes are stored. | |||
| 2015-11-18 | Account for the -1 hack to fit 0x10000 in a short in hash_page.c | christos | |
| 2015-11-18 | If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and | christos | |
| we end up storing 0... This means that every entry needs a page. We store MAX_BSIZE - 1 here, but it would be better to always store (avail - 1) here so that we don't waste a byte and be consistent. | |||
| 2015-11-17 | PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data. | christos | |
| XXX: pullup-7 | |||
| 2015-06-22 | Fix hash iteration that deletes the current element under the cursor by | christos | |
| adjusting the position of the iterator appropriately. XXX: pullup 7 | |||
| 2015-06-22 | Delay moving to the next key until the next iteration. This avoids returning | christos | |
| invalid data to the user if the user deletes the current key, but it also fails to iterate over some keys as will be shown by a unit test. From FreeBSD. | |||
| 2015-05-19 | Fix the build for ancient (rhel5) systems that don't have O_CLOEXEC | christos | |
| XXX: pullup-7 | |||
| 2014-12-22 | whitelist O_CLOEXEC flag, should fix lastlogin issue. | christos | |
| 2013-12-25 | fix bug in previous change (sz should be the size of the newly allocated | christos | |
| buffer). | |||
| 2013-12-14 | It's been many years since realloc(NULL, size) == malloc(size). Also don't | christos | |
| destroy pointers on allocation errors so someone can free them later. | |||
| 2013-12-14 | knf, reduce pointer gymnastics | christos | |
| 2013-12-01 | - centralize opening of regular and temp files to avoid code duplication | christos | |
| - don't cast malloc - use malloc sizeof(*var) instead of sizeof(type) | |||
| 2013-11-22 | switch from circleq to tailq, from FreeBSD | christos | |
| 2013-09-04 | Fix typos from FreeMiNT's db-1.86 patch. | ryoon | |
| 2012-10-13 | Remove some more unneeded Pp macros. | njoly | |
| 2012-03-13 | PR/45989: Martin Husemann: lint invocation does include -w only on i386 | christos | |
| - turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds) approved by core@ | |||
| 2011-08-09 | libc passes the relaxed array boundary check in clang now. | joerg | |
| 2011-07-17 | fix type punned warnings in debugging code. | christos | |
| 2011-06-26 | put back some compat code for systems that don't have O_CLOEXEC. | christos | |
| 2011-06-26 | - use sizeof(var) instead of sizeof(type) | christos | |
| - remove useless cast | |||
| 2011-06-26 | - Fix bug copying only 1 byte instead of the whole page number. Broke nvi | christos | |
| joining lines that needed R_BIGDATA. - Fix from FreeBSD for nrec IAFTER. XXX: Should be pulled up to 5.x | |||
| 2011-06-26 | use O_CLOEXEC | christos | |
| 2011-06-20 | various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of | mrg | |
| these work properly wtf pointer aliasing, but there are no casts at least... the lib/libpuffs/puffs_priv.h is definately a real bug fix. from chuq. | |||
| 2011-05-26 | Default to -Wno-sign-compare -Wno-pointer-sign for clang. | joerg | |
| Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree. | |||
| 2011-04-17 | Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD. | christos | |
| (the bt one was ok, but set errno and make it the same for consistency). [to be pulled up] | |||
| 2010-12-16 | .Fn, offset indent, complete reference. | jruoho | |
| 2010-12-16 | Fix the references and -offset indent. | jruoho | |
| 2010-12-16 | Use .Fn. | jruoho | |
| 2010-05-05 | Note the POSIX compliance (already since SUSv2, '97). | jruoho | |
| 2010-03-22 | Use .In for header files instead of .Ar Pa and variations. | joerg | |
| 2009-04-23 | correct cast to size_t. | christos | |
| 2009-04-23 | Cast the arg to an unsigned value to let this compile | agc | |
| 2009-04-22 | Include string.h for memset prototype. | njoly | |
| 2009-04-22 | Avoid information leaks by zeroing memory, from FreeBSD (we had done some | christos | |
| already) | |||
| 2009-04-11 | -width needs an argument, so provide one. | joerg | |
| 2009-02-12 | fix -Wsign-compare issues | lukem | |
| 2009-02-12 | fix sign-compare issues | lukem | |
