summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* According to C99 decimal_point can't be emptyache2003-03-201-4/+1
|
* According to C99 decimal_point can't be the empty string, mention it.ache2003-03-201-1/+2
|
* decimal_point can't be "" according to C99, so set it to standard "."ache2003-03-201-1/+6
| | | | in that case.
* The flags passed in to _ftp_get_proxy may be nullmtm2003-03-191-1/+1
| | | | Approved by: des, markm (mentor)(implicit)
* - Revamp the function _nis_initshells() to make getusershell() backedrobert2003-03-191-35/+30
| | | | | | | by NIS work, like nsswitch.conf(5) promises to be able to. (These modifications will be fed back to NetBSD, of course) - In endusershell(), do not set `sl' to NULL if we know it already has that value.
* typophk2003-03-191-1/+1
|
* Further unbreak devstat: sort the index array in correct order too.phk2003-03-191-10/+10
|
* If realloc(3) fails in copyline(), do not make matters worse byrobert2003-03-191-6/+11
| | | | leaving without deallocating `data' thereby creating a memory leak.
* ARGH!phk2003-03-181-3/+3
| | | | Pointy hat to: phk
* Commit ken@' changes to this file: Bump version and append new entriesphk2003-03-181-9/+9
| | | | to stay backwards compatible.
* Update to match reality closer.phk2003-03-181-274/+42
|
* Add more devstat calculations, mostly filling in holes, but also addingphk2003-03-182-27/+130
| | | | | | | | | | a couple of reqests: DSM_BUSY_PCT and DSM_QUEUE_LENGTH. I have no further plans for mutilating this API at this point in time, and will update the man-page to reflect current reality as the next thing. Reviewed by: ken
* Use devstat instead of GEOM private statistics structure.phk2003-03-182-8/+7
|
* Constify arg to geom_lookupid().phk2003-03-172-3/+3
| | | | Improve a diagnostic printf.
* Ignore GBDE devices.phk2003-03-171-0/+2
| | | | Spotted by: Lucky Green <shamrock@cypherpunks.to>
* Make pw_edit() use /bin/sh to interpret the EDITOR environmentdas2003-03-171-2/+12
| | | | | | | variable. PR: 48748 Reviewed by: mike (mentor)
* And I managed to make a regression here too.phk2003-03-151-5/+5
| | | | I have too many source trees :-(
* Run a revision of the devstat interface:phk2003-03-153-123/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel: Change statistics to use the *uptime() timescale (ie: relative to boottime) rather than the UTC aligned timescale. This makes the device statistics code oblivious to clock steps. Change timestamps to bintime format, they are cheaper. Remove the "busy_count", and replace it with two counter fields: "start_count" and "end_count", which are updated in the down and up paths respectively. This removes the locking constraint on devstat. Add a timestamp argument to devstat_start_transaction(), this will normally be a timestamp set by the *_bio() function in bp->bio_t0. Use this field to calculate duration of I/O operations. Add two timestamp arguments to devstat_end_transaction(), one is the current time, a NULL pointer means "take timestamp yourself", the other is the timestamp of when this transaction started (see above). Change calculation of busy_time to operate on "the salami principle": Only when we are idle, which we can determine by the start+end counts being identical, do we update the "busy_from" field in the down path. In the up path we accumulate the timeslice in busy_time and update busy_from. Change the byte_* and num_* fields into two arrays: bytes[] and operations[]. Userland: Change the misleading "busy_time" name to be called "snap_time" and make the time long double since that is what most users need anyway, fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same timescale as the kernel fields. Change devstat_compute_etime() to operate on struct bintime. Remove the version 2 legacy interface: the change to bintime makes compatibility far too expensive. Fix a bug in systat's "vm" page where boot relative busy times would be bogus. Bump __FreeBSD_version to 500107 Review & Collaboration by: ken
* The gdtoa import apparently hasn't caused anything or anyone todas2003-03-151-2429/+0
| | | | | explode, so nix the old strtod() / dtoa(). This change is part of the gdtoa patches reviewed on standards@.
* Backout last commit.davidxu2003-03-152-2/+2
| | | | Requested by: jhb
* MFp4: Pentium/Athlon-optimised implementation of wcslen().tjr2003-03-142-1/+69
|
* Merge vfprintf.c revision 1.52.tjr2003-03-141-2/+2
|
* Kludge around a bug that results from printf() assuming thatdas2003-03-141-1/+1
| | | | | | | | | dtoa() is buggy. The bug would cause incorrect output to be generated when format strings such as '%5.0f' were used with nonzero numbers whose magnitude is less than 1. Reported by: df(1) by way of periodic(8) Reviewed by: mike
* Unexpand RCS tag.tjr2003-03-141-1/+1
|
* In src/lib/libz/gzio.c the function gzprintf does not check if thejmz2003-03-141-7/+6
| | | | | | | | | | amount of bytes (supposed to be) written by vsnprintf exceeds the size of the buffer. PR: bin/48844 Submitted by: Peter A Jonsson <pj@ludd.luth.se> Obtained from: OpenBSD MFC after: 1 month
* Fix a bug in rwlock. When a rwlock was locked by reader threads, adavidxu2003-03-142-2/+2
| | | | writter thread can block reader threads to get read lock.
* Catch up to p_tracep -> p_tracevp rename to unbreak world.jhb2003-03-131-1/+1
| | | | Pointy hat to: jhb
* Clean up the way gdtoa sources are found.obrien2003-03-132-8/+7
| | | | OK'ed by: das
* Document return type of wordfree() (void). Reduce the space betweentjr2003-03-131-3/+4
| | | | | struct member names and the corresponding comments so the lines don't wrap on 80-column terminals.
* MFp4: Implementations of the wcstof() and wcstold() functions.tjr2003-03-134-10/+195
|
* MFp4: Catch up to recent __dtoa() interface changes and removal of cvt()'stjr2003-03-131-11/+10
| | | | last argument.
* Document strtof() and strtold(). Update vendor license.das2003-03-121-32/+75
| | | | Reviewed by: bde (briefly), mike (mentor), obrien
* Replace our ancient dtoa/strtod implementation with the gdtoadas2003-03-1220-10/+286
| | | | | | | | | | | | | | | | | | package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien
* Ditch a static global and the mutex that protected it. Achieve themtm2003-03-121-27/+18
| | | | | | | | desired strptime(3) reentrancy by adding an extra argument to _strptime() instead. Approved by: markm (mentor) MFC: 4 weeks
* Document the fact that hdestory calls free on the keys added withdwmalone2003-03-121-5/+25
| | | | | | | hsearch(.., ENTER). Make the example reflect this. PR: 49951 Submitted by: Peter Jeremy <peterjeremy@optushome.com.au>
* Update sendfile.2 to include a TUNING section that documents theseanc2003-03-121-0/+38
| | | | | | | various tunables that are applicable to sendfile(2). Update tuning.7 to mention a reference to sendfile.2. Approved by: keramida
* MFp4: Reduce code size by 26 bytes by only aligning the jump targets thattjr2003-03-121-10/+1
| | | | are at the top of loops.
* MFp4: Make `spanp' const.tjr2003-03-121-3/+4
|
* MFp4: Pentium/Athlon-optimised implementation of wmemchr().tjr2003-03-122-1/+115
|
* Don't parse the proxy URL unless we're actually going to use it. No realdes2003-03-112-8/+16
| | | | functional difference, but debugging output will be less confusing.
* MFp4: Pentium-optimised implementation of wcscmp(). Performs significantlytjr2003-03-102-1/+80
| | | | better than the code generated by gcc in many cases.
* This module is not WARNS-clean, due to brokenness in OpenSSL headers.des2003-03-101-0/+1
|
* Somewhat better wording.des2003-03-101-8/+6
|
* Silence warning caused by OPIE brokenness.des2003-03-101-2/+3
|
* style.Makefile(5) policeobrien2003-03-0928-221/+223
| | | | | | (I've tried to keep to the spirit of the original formatting) Reviewed by: des
* style.Makefile(5) police.obrien2003-03-091-31/+30
| | | | Reviewed by: des
* MFp4: Add the standard "the {fgetws,fputws} function will fail if" texttjr2003-03-092-0/+6
| | | | to the Errors section.
* KerberosIV deorbit sequence continues: Look for K5 instead of KIVmarkm2003-03-081-2/+3
|
* KerberosIV de-orbit burn continues. Remove the KerberosIV PAM module.markm2003-03-087-454/+0
|
* Comment-only assistance to lint to kill warnings.markm2003-03-081-0/+4
|
OpenPOWER on IntegriCloud