summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Tell stupid users to write the bootcode.release/2.0_cvsJordan K. Hubbard1994-11-22116-142/+142
| | | | | This commit was manufactured to restore the state of the 2.0-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* This commit was manufactured by cvs2svn to create branch 'BETA_2_0'.cvs2svn1994-11-214-5/+268
| | | | Notes: svn path=/releng/BETA_2_0/; revision=4743
* This commit was manufactured by cvs2svn to create branch 'ALPHA_2_0'.cvs2svn1994-11-0880-9689/+0
| | | | Notes: svn path=/releng/ALPHA_2_0/; revision=4294
* Date: Wed, 26 Oct 1994 15:44:49 -0600Nate Williams1994-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | From: Chris Torek <torek@bsdi.com> Here is a semi-official patch (apply to /usr/src/lib/libc/stdio/fseek.c, rebuild libc, install). The current code fails when the seek: - is optimized, and - is to just past the end of the block currently in the buffer, and - is followed by another seek with no intervening read operation, and - the destination of subsequent seek is within the block left in the buffer (seeking to the beginning of a block does not force a read, so the buffer still contains the previous block) so it is indeed rather obscure. I may have a different `final' fix, as this one `loses' the buffer contents on a seek that goes just past the end of the current block. [Footnote: seeks are optimized only on read-only opens of regular files that are buffered by the file's optimal I/O size. This is what you get with fopen(path, "r") and no call to setvbuf().] Obtained from: [ BSDI mailing list ] Notes: svn path=/head/; revision=4169
* >Description:Rodney W. Grimes1994-10-272-1/+2
| | | | | | | | | | | | | | | | | While trying to figure out why rlogind wasn't working right for root, I noticed that man wouldn't come back with a man page for iruserok, but it would for ruserok. Checking the lib/net directory's Makefile.inc file shows that the link to the rcmd man page just isn't getting created. >How-To-Repeat: Do a 'man iruserok' and notihing will come back, where a 'man ruserok' will. Submitted by: Brian Moore <ziff@houdini.eecs.umich.edu> Obtained from: NetBSD-bugs mailing list Notes: svn path=/head/; revision=3932
* Fix memchr(p, 0, 0) to return NULL instead of p.Bruce Evans1994-10-271-3/+3
| | | | Notes: svn path=/head/; revision=3929
* Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsetsBruce Evans1994-10-254-14/+50
| | | | | | | to match setjmp.S. Notes: svn path=/head/; revision=3851
* Nuke sigsetjmp.c. sigsetjmp() can't be implemented as a C functionBruce Evans1994-10-251-2/+2
| | | | | | | | that calls setjmp(), since returning from the function usually clobbers the saved environment. Notes: svn path=/head/; revision=3850
* cfmakeraw(): set IGNBRK, clear IXOFF, INPCK per Bruce suggestionAndrey A. Chernov1994-10-221-2/+3
| | | | | | | Set IGNPAR, clear NOFLSH, PENDIN, TOSTOP, ECHOE, ECHOK Notes: svn path=/head/; revision=3799
* makeraw(): forget to clear IMAXBEL, set VMIN/VTIMEAndrey A. Chernov1994-10-221-2/+3
| | | | Notes: svn path=/head/; revision=3760
* Remove CPU_COLORDISP, GIO_COLOR now existsAndrey A. Chernov1994-10-181-1/+0
| | | | Notes: svn path=/head/; revision=3682
* Add new machdep variablesAndrey A. Chernov1994-10-171-0/+3
| | | | Notes: svn path=/head/; revision=3667
* sysctl(3) can return an error (setting errno to ENOMEM) when theGarrett Wollman1994-10-132-28/+90
| | | | | | | | fields in the utsname structure are too small to hold their corresponding MIB variables. Don't return an error in this case. Notes: svn path=/head/; revision=3565
* Sync with ctype.h (remove EOF handling)Andrey A. Chernov1994-10-091-9/+0
| | | | Notes: svn path=/head/; revision=3457
* Sync with ctype.h (EOF, sign extention fixes)Andrey A. Chernov1994-10-081-0/+17
| | | | Notes: svn path=/head/; revision=3434
* Use same configuration file, /etc/host.conf, for both gethost* andGarrett Wollman1994-09-261-7/+9
| | | | | | | | | getnet* configuration. (It's highly unlikely that you'd want to do something different, and network lookups aren't common enough to justify their own configuration file.) Notes: svn path=/head/; revision=3136
* Fixed YP networks map support.Garrett Wollman1994-09-261-7/+24
| | | | Notes: svn path=/head/; revision=3108
* remove need for -DDEBUG from resolver code (conflict with db/hash)Paul Traina1994-09-257-77/+38
| | | | Notes: svn path=/head/; revision=3094
* get* rework and new bind codePaul Traina1994-09-2515-1090/+2785
| | | | Notes: svn path=/head/; revision=3070
* Document getvfsent() and kin.Garrett Wollman1994-09-252-2/+232
| | | | Notes: svn path=/head/; revision=3062
* Fix so that people who don't have LKMs compiled in their kernels don'tGarrett Wollman1994-09-251-0/+8
| | | | | | | | get hosed: vfsisloadable() always returns false if /dev/lkm cannot be opened for writing. Notes: svn path=/head/; revision=3061
* Make not-so-space-eaten locale version:Andrey A. Chernov1994-09-2412-290/+525
| | | | | | | | split modules to bring only neccessary functions, eliminate sprintf, make reduced startup_locale version. Notes: svn path=/head/; revision=3050
* Added $Id$David Greenman1994-09-243-0/+6
| | | | Notes: svn path=/head/; revision=3044
* If sysctl() fails, return "/kernel" so as not to screw people who haven'tGarrett Wollman1994-09-241-2/+2
| | | | | | | updated their kernels yet. Notes: svn path=/head/; revision=3042
* Added getbootfile(3), for an easy C interface to the kern.bootfile MIBGarrett Wollman1994-09-233-13/+140
| | | | | | | variable. This one's even documented! Notes: svn path=/head/; revision=3040
* Added *ran48 functions, and put them in the correct place this time.Garrett Wollman1994-09-2313-2/+476
| | | | | | | Obtained from: 1.1.5 Notes: svn path=/head/; revision=3016
* Pass -q and -u flags to modload so that it shuts up and doesn't leaveGarrett Wollman1994-09-221-1/+1
| | | | | | | modules lying around. Notes: svn path=/head/; revision=3001
* Make iso_addr's output conform to modern conventions for NSAPPaul Traina1994-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. Notes: svn path=/head/; revision=2978
* Fix stupid memory-allocation error.Garrett Wollman1994-09-221-3/+9
| | | | Notes: svn path=/head/; revision=2970
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,Garrett Wollman1994-09-222-1/+235
| | | | | | | | endvfsent, vfsisloadable, vfsload. Someday these will even be documented. Notes: svn path=/head/; revision=2963
* Document YP support.Garrett Wollman1994-09-202-29/+51
| | | | Notes: svn path=/head/; revision=2937
* My implementation of YP group file support, modeled after theGarrett Wollman1994-09-201-6/+210
| | | | | | | password file support done yesterday. Notes: svn path=/head/; revision=2936
* Second half of YP security hole fix. Needs updated passwordGarrett Wollman1994-09-201-5/+12
| | | | | | | database in order to operate. Notes: svn path=/head/; revision=2935
* Re-implement YP password file support from scratch. This implementationGarrett Wollman1994-09-201-3/+215
| | | | | | | correctly handles +user entries and + entries with local overrides. Notes: svn path=/head/; revision=2917
* Maintain pw_fields, and output same to password database.Garrett 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. Notes: svn path=/head/; revision=2916
* Function in this module bloodly called 'gethostname' and linkedAndrey A. Chernov1994-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. Notes: svn path=/head/; revision=2908
* Redo kernel NTP PLL support, user-mode interface.Garrett Wollman1994-09-183-10/+69
| | | | Notes: svn path=/head/; revision=2857
* Added support for kernel profiling to mcount.cPaul Richards1994-09-151-0/+4
| | | | Notes: svn path=/head/; revision=2800
* Use latest Arthur Olson timezone code rather than that supplied withGarrett Wollman1994-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. Notes: svn path=/head/; revision=2741
* Added SYSV ipc system calls.Doug Rabson1994-09-1314-4/+199
| | | | Notes: svn path=/head/; revision=2730
* Port to FreeBSD. Not ready for inclusion in libc just yet, but hereGarrett Wollman1994-09-133-3/+12
| | | | | | | so we can compile zic. Notes: svn path=/head/; revision=2713
* This commit was generated by cvs2svn to compensate for changes in r2710,Garrett Wollman1994-09-131-1/+1
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=2711
| * One more try, and if it doesn't work this time I'm giving up.Garrett Wollman1994-09-131-1/+1
| | | | | | | | | | | | | | (Check in original localtime.c.) Notes: svn path=/vendor/tzcode/dist/; revision=2710
* | This commit was generated by cvs2svn to compensate for changes in r2708,Garrett Wollman1994-09-139-0/+4180
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=2709
| * The rest of tzcode94g from Arthur David Olson.Garrett Wollman1994-09-139-0/+4180
| | | | | | | Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz Notes: svn path=/vendor/tzcode/dist/; revision=2708
* Based on fix from 1.1.5.1:Geoff Rehmet1994-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. Notes: svn path=/head/; revision=2592
* document libcrypt and libcipher.Geoff Rehmet1994-09-081-0/+17
| | | | | | | Submitted by: Geoff Notes: svn path=/head/; revision=2590
* Make errors in /etc/fstab print the line numbers where they occured.Jordan K. Hubbard1994-09-081-2/+13
| | | | | | | | Also be more tolerant of blank lines and comments in the file. Submitted by: jkh Notes: svn path=/head/; revision=2569
* Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.Bruce Evans1994-09-051-4/+2
| | | | | | | Modernize bcopy -> memcpy. Notes: svn path=/head/; revision=2506
* Fix printing of weird errno's: negative values were printed as largeBruce Evans1994-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. Notes: svn path=/head/; revision=2505