summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Call reduced (8-bit only) startup_setlocale()ache1994-09-241-2/+3
|
* Make not-so-space-eaten locale version:ache1994-09-2412-290/+525
| | | | | split modules to bring only neccessary functions, eliminate sprintf, make reduced startup_locale version.
* Fix bug in %i format, second argument not incrementedache1994-09-241-1/+4
|
* Fix bug with scroll region parameters (x changed to y)ache1994-09-241-3/+3
|
* Added $Id$dg1994-09-244-0/+8
|
* If sysctl() fails, return "/kernel" so as not to screw people who haven'twollman1994-09-241-2/+2
| | | | updated their kernels yet.
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.wollman1994-09-242-4/+3
| | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible.
* Added getbootfile(3), for an easy C interface to the kern.bootfile MIBwollman1994-09-233-13/+140
| | | | variable. This one's even documented!
* Don't define LITTLE_ENDIAN is already defined.dg1994-09-231-0/+2
|
* Added *ran48 functions, and put them in the correct place this time.wollman1994-09-2313-2/+476
| | | | Obtained from: 1.1.5
* Pass -q and -u flags to modload so that it shuts up and doesn't leavewollman1994-09-221-1/+1
| | | | modules lying around.
* Make iso_addr's output conform to modern conventions for NSAPpst1994-09-221-18/+16
| | | | | representation. Original code by pst but ported in as part of enhancements to BIND 4.9.2 and returned to Vixie.
* Attention to all cc hackers, here workaround for gcc 2.6.0ache1994-09-221-2/+4
| | | | | optimizer bug (old code works without -O and don't works with -O) old !(x & y) != !(a & b) changed to !!(x & y) != !!(a & b)
* Fix mvcur typo bug from my previous fixache1994-09-221-1/+1
|
* Fix stupid memory-allocation error.wollman1994-09-221-3/+9
|
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,wollman1994-09-222-1/+235
| | | | | endvfsent, vfsisloadable, vfsload. Someday these will even be documented.
* Document YP support.wollman1994-09-202-29/+51
|
* My implementation of YP group file support, modeled after thewollman1994-09-201-6/+210
| | | | password file support done yesterday.
* Second half of YP security hole fix. Needs updated passwordwollman1994-09-201-5/+12
| | | | database in order to operate.
* Re-implement YP password file support from scratch. This implementationwollman1994-09-201-3/+215
| | | | correctly handles +user entries and + entries with local overrides.
* Maintain pw_fields, and output same to password database.wollman1994-09-201-0/+17
| | | | | | | | | | | !!!!!!!! NB !!!!!!!! You MUST pwd_mkdb /etc/master.passwd before attempting to use the new libc, or things may go wrong. (I doubt anything actually /will/ go wrong, but the actual behavior is undefined. YOU HAVE BEEN WARNED.) The database format is, however, backwards-compatible, so old executables will still work.
* Function in this module bloodly called 'gethostname' and linkedache1994-09-191-2/+2
| | | | | | with all pgms, you can imagine results! Change 'gethostname' -> 'ntp_gettime', I don't know what real name must be here but try to guess.
* Added beforeinstall rule to install .h files. We might need some .mkphk1994-09-191-0/+14
| | | | support for this kind of thing. Look at src/Makefile target "includes".
* Change level of setlocale hack enabling from compile option STARTUP_LOCALEache1994-09-192-9/+5
| | | | | | to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at runtime. Submitted by: me per Bruce suggestion
* Add (#ifdef'ed by STARTUP_LOCALE) following line to crt0.cache1994-09-182-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | (void) setlocale(LC_ALL, ""); It will be easiest way now to make national chars available for all ctype-oriented programs at once by simple: setenv LANG Your_National_Charset Default case (without "LANG" environment variable) will be fully ANSI compatible (got "C" locale). If "LANG" variable present, extention becomes active. Effect of this extention is great: in one time all ctype oriented programs can accept/print national characters without any touching source/binary code, it is big win, IMHO. This method is fully compatible with ISO8859-* and russian koi8-r too (in general -- with all 8-bit character sets). I think it is very useful. I got this idea from Xenix locale implementation. This extention is even never compiled in, unless you set setenv STARTUP_LOCALE before rebuilding crt0.c or corresponding variable in /etc/make.conf
* Redo kernel NTP PLL support, user-mode interface.wollman1994-09-183-10/+69
|
* libmd no longer built as shared-lib, only static.phk1994-09-181-2/+3
| | | | Renamed the beforeinstall to test.
* Added support for kernel profiling to mcount.cpaul1994-09-151-0/+4
|
* Add sanity check for "no previous regular expression" state,ache1994-09-141-1/+4
| | | | bringed by 'more'
* Fix bug with searching "" pattern, cause 'more' always showsache1994-09-141-1/+1
| | | | next line on "/<Enter>" instead of searching next pattern
* Use latest Arthur Olson timezone code rather than that supplied withwollman1994-09-138-71/+524
| | | | | 4.4. The code is almost identical to the 4.4 versions, but this organization should make it easier to merge new versions in the future.
* Added SYSV ipc system calls.dfr1994-09-1314-4/+199
|
* Port to FreeBSD. Not ready for inclusion in libc just yet, but herewollman1994-09-133-3/+12
| | | | so we can compile zic.
* This commit was generated by cvs2svn to compensate for changes in r2710,wollman1994-09-131-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * One more try, and if it doesn't work this time I'm giving up.wollman1994-09-131-1/+1
| | | | | | | | (Check in original localtime.c.)
* | This commit was generated by cvs2svn to compensate for changes in r2708,wollman1994-09-139-0/+4180
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * The rest of tzcode94g from Arthur David Olson.wollman1994-09-139-0/+4180
| | | | Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz
* Subwin code forget to subtract orig->beg{x,y} cause SEGVache1994-09-121-2/+2
| | | | Submitted by: derek@free.org & ache
* libterm is now libtermcaprgrimes1994-09-111-1/+1
|
* Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcaprgrimes1994-09-111-1/+1
|
* In emacs editing mode, sh treated ^D at the end of a line as EOF.csgr1994-09-091-7/+3
| | | | | (Apparently by Christos Zoulas.) Liberated from: NetBSD
* Based on fix from 1.1.5.1:csgr1994-09-081-1/+10
| | | | | | | | | | | >From: jtk@atria.com (John T. Kohl) in rcmd: It calls select() with a hardcoded "number of file descriptors" argument of 32, rather than computing it based on the sockets about which it cares. - Now we work out the nfds arg, and do some error checking Submitted by: Geoff.
* document libcrypt and libcipher.csgr1994-09-081-0/+17
| | | | Submitted by: Geoff
* Build *.3 and *.ref at build time, not at install time.bde1994-09-081-1/+3
|
* Declare huge and tiny as volatile so that gcc doesn't evaluate huge*hugebde1994-09-081-1/+2
| | | | | | | | and tiny*tiny at compile time. The evaluations are supposed to be done at run time to set the IEEE exception flags. Many other source files in libm and msun are missing this fix. Fixing them is not urgent since the default IEEE exception masks don't allow use of the overflow exception flag.
* Install math.h.bde1994-09-081-1/+8
|
* Make errors in /etc/fstab print the line numbers where they occured.jkh1994-09-081-2/+13
| | | | | Also be more tolerant of blank lines and comments in the file. Submitted by: jkh
* Bug fixed:ache1994-09-071-2/+2
| | | | | when refreshing standouted line curses outputs SO for all characters Submitted by: ZW6T-KND@j.asahi-net.or.jp
* Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.bde1994-09-051-4/+2
| | | | Modernize bcopy -> memcpy.
* Fix printing of weird errno's: negative values were printed as largebde1994-09-051-5/+9
| | | | | | unsigned's; null termination was only guaranteed for the first call. Fix lint: don't declare externs internally; they were both out of date.
OpenPOWER on IntegriCloud