summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/interp_parse.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-1/+1
| | | | | | | | | | The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
* Use __FBSDID().obrien2003-08-251-3/+4
| | | | Also some minor style cleanups.
* Cleanup warnings. Most of these are signed/unsigned warnings, as well asjhb2000-08-031-10/+8
| | | | some added const's.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a number of memory leaks and other memory-related disorders.dcs1999-03-081-1/+2
| | | | | | | | | | | | | | | Also, unbreak the breakage introduced at the last revision of module.c. This changes the semantics of mod_searchfile() (and mod_searchmodule()) to make the caller's responsibility freeing the buffer returned. This is different from other functions in loader's code, and was done as a fix for kern/9631. If someone wants to revert this to the original behavior, don't forget to fix kern/9631 in another way. This should also fix bin/10462, which was introduced as a result of the first try at kern/9631 (module.c last revision). PR: bin/10462 Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
* Typo in patch application.msmith1999-01-131-2/+2
| | | | | PR: kern/9459 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* Enable escapes for $ to make it possible to insert variable names intomsmith1999-01-101-2/+6
| | | | other variable values.
* Initial integration of the i386 bootloader and BTX.msmith1998-09-171-2/+1
| | | | | | | | | | | - Discard large amounts of BIOS-related code in favour of the more compact BTX vm86 interface. - Build the loader module as ELF, although the resulting object is a.out, make gensetdefs 32/64-bit sensitive and use a single copy of it. - Throw away installboot, as it's no longer required. - Use direct bcopy operations in the i386_copy module, as BTX maps the first 16M of memory. Check operations against the detected size of actual memory.
* Generic plug-and-play enumerator infrastructure. Query suppliedmsmith1998-09-041-2/+2
| | | | | enumerators, crossreference returned identifiers with a text-format database and automatically load corresponding modules and dependancies.
* Allow quoted strings (single or double) for grouping whitespace separatedjkh1998-09-031-5/+16
| | | | items. Eliminate warnings.
* New commandline/script parser, supports backslash quoting and environmentmsmith1998-09-011-0/+190
variable substitution. Submitted by: Jordan Hubbard <jkh@freebsd.org>
OpenPOWER on IntegriCloud