summaryrefslogtreecommitdiffstats
path: root/lib/libstand
Commit message (Collapse)AuthorAgeFilesLines
* Make the output from assert() look more like the example in the C99mike2001-10-291-4/+4
| | | | | | standard. Requested by: bde
* Only provide function information in compile environments that supportmike2001-10-271-4/+7
| | | | | | | the C99 variable __func__ and never for C++. Provide a more meaningful example in the assert(3) manual. Reviewed by: asmodai, bde
* Remove the -I../libc/${MACHINE_ARCH} that was there solely forpeter2001-10-261-3/+0
| | | | the #include "DEFS.h" that was only used on i386 (which has been fixed).
* Change #include "DEFS.h" to <machine/asm.h>.peter2001-10-251-1/+1
|
* Add __FBSDID.asmodai2001-10-241-3/+5
| | | | | Change __assert() function to print failing function name. This makes us C99 conforming.
* Make this Makefile suitable for sparc64.robert2001-10-151-2/+5
|
* Define the types iaddr_t and saddr_t for sparc64.robert2001-10-151-0/+4
|
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-101-2/+0
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-3/+3
|
* mdoc(7) police: markup nits.ru2001-10-011-9/+13
|
* Add __FBSDID()s to libstanddillon2001-09-3053-49/+161
|
* Add support for loading bzip2-compressed filesystems. Among other thingssobomax2001-09-187-5/+371
| | | | | | | this would allow to load bzip2-compressed kernels/modules from the loader(8) (support for that will be committer separately). MFC after: 1 month
* Remove bogus implementation of _setjmp/_longjmpdfr2001-09-031-140/+0
|
* Check for malloc failure in a couple of caseskris2001-09-032-0/+8
| | | | MFC after: 2 weeks
* Fix a bug in lseek which caused the loader to fail on some gzippedjdp2001-08-291-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | kernels. The error message was "elf_loadexec: cannot seek". Libstand maintains a read-ahead buffer for each open file, so that it can read in chunks of 512 bytes for greater efficiency. When the loader tries to lseek forward in a file by a small amount, it sometimes happens that the target file offset is already in the read-ahead buffer. But the lseek code simply discarded the contents of that buffer and performed a seek directly on the underlying file. This resulted in an attempt to seek backwards in the file, since some of the data has already been read into the read-ahead buffer. Gzipped data streams cannot seek backwards, so an error was returned. This commit adds code which checks to see if the desired file offset is already in the read-ahead buffer. If it is, the code simply adjusts the buffer pointer and length, thereby avoiding a reverse seek on the gzipped data stream. I incorporated a suggestion from Matt Dillon which saved a little bit of code in this fix. Reviewed by: dillon, gallatin, jhb
* Bail if we go beyond the directory size, not just if we hit it.gallatin2001-08-231-1/+1
| | | | | | Certain ISO fs's (like the one for 4.4-RC1 disc1 on alpha) trigger this, and we end up opening a null file name. This causes us to get a false match for "kernel.ko" when it does not exist.
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-2/+6
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+1
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-4/+0
|
* Make include file consistent with the rest of libstand.mp2001-07-311-1/+2
|
* Remove whitespace at EOL.dd2001-07-151-25/+25
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Reset errno so that subsequent TFTP requests don't fail after themikeh2001-06-301-0/+2
| | | | | | | first failure. PR: misc/25502 MFC after: 2 weeks
* Correct the returned UDP datagram length. See the PR for a more comprehensivemsmith2001-05-281-1/+2
| | | | | | | | description of the fix. PR: misc/25503 Submitted by: Jim Browne <jbrowne@jbrowne.com> MFC after: 1 week
* The shortest valid TFTP packet is 4 bytes, not 8.msmith2001-05-281-1/+1
| | | | | | PR: misc/25503 Submitted by: Jim Browne <jbrowne@jbrowne.com> MFC after: 1 week
* Replace functional bugs of ctypish functions in libstand with styledcs2001-05-141-7/+35
| | | | | | | bugs. reviewed by: bde MFC after: 1 week
* Compensate for header dethreading.markm2001-05-011-0/+4
|
* Unbreak world by defining isalnum() for libstand consumers.msmith2001-04-291-0/+1
|
* fix cd9660 to work on files larger than ISO_DEFAULT_BLOCK_SIZE and unbreakgallatin2001-04-071-3/+4
| | | | | | cdboot on alphas (which has been broken since just after 4.0-RELEASE) submitted by: jlemon
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* A quick and dirty port of libstand to ia64.dfr2001-03-063-0/+161
|
* Prepare for mdoc(7)NG.ru2001-02-221-2/+2
|
* Correct the prototype for pager_output().dcs2001-02-221-1/+1
|
* Silence -Wnon-const-formatkris2001-02-181-1/+1
|
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+1
| | | | Compatability is not an existing english word.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-59/+216
|
* mdoc(7) police: removed leading whitespaces that are not insideru2001-01-191-2/+2
| | | | Bd/Ed; these hardly degrade the quality of the produced output.
* Prepare for mdoc(7)NG.ru2000-12-291-8/+8
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* When TFTP tries to open a file, it is expecting struct open_fileps2000-12-081-0/+3
| | | | | | | | member f_devdata to be a pointer to a socket number. When currdev is "pxe", that assumption is correct. When currdev is "disk*", that assumption is incorrect. Submitted by: Jim Browne <jbrowne@jbrowne.com>
* Disable the end guard for now.benno2000-11-101-0/+2
| | | | | | | | The test for failing the end guard was always triggering (and was reported as such in compiler warnings). This is a temporary band-aid until I can work out what's really going on. Reviewed by: obrien
* Make setjmp work our way, as opposed to NetBSD's.benno2000-11-101-3/+1
| | | | | | | This file needs commenting still. Submitted by: luoqi Reviewed by: obrien
* Don't always enable debugging for the network device code.benno2000-11-101-2/+0
| | | | Reviewed by: obrien
* Honor the ip address given in the root-path dhcp option.ps2000-11-051-5/+1
| | | | | PR: 21743 Submitted by: Brian Candler <B.Candler@pobox.com>
* Inital PowerPC loader build support.obrien2000-10-102-1/+8
| | | | Submitted by: Benno Rice <benno@jeamland.net>
* Fix the embeded VCS ID for FreeBSD vs. NetBSD.obrien2000-10-101-3/+2
|
* Architecture-specific setjump()/longjmp() bits for the PowerPCobrien2000-10-101-0/+39
| | | | | | | needed by the loader. Submitted by: Benno Rice <benno@jeamland.net> Obtained from: NetBSD (Wolfgang Solfrank <ws@@tools.de>)
* IN_CLASS*() macros assume host order and s_addr is network byteps2000-09-201-2/+2
| | | | order, so we must convert them to host order.
* Turn dkcksum() into an __inline function.phk2000-09-161-1/+0
| | | | Change its type to u_int_16_t.
OpenPOWER on IntegriCloud