| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This is a build tool only and does not affect run time.
PR: 204951
Notes:
svn path=/stable/10/; revision=292786
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Empty pairs of braces are represented by a NULL node pointer, just like
empty lines at the top level.
Support for empty pairs of braces may be removed later. They make the code
more complex, have inconsistent behaviour (may or may not change $?), are
not specified by POSIX and are not allowed by some other shells like bash,
dash and ksh93.
Reported by: kan
Notes:
svn path=/head/; revision=196634
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a reference count to function definitions.
Memory may leak if multiple SIGINTs arrive in interactive mode,
this will be fixed later by changing SIGINT handling.
PR: bin/137640
Notes:
svn path=/head/; revision=196483
|
| |
|
|
|
|
|
|
|
|
| |
understand which code paths aren't possible.
This commit eliminates 117 false positive bug reports of the form
"allocate memory; error out if pointer is NULL; use pointer".
Notes:
svn path=/head/; revision=181269
|
| |
|
|
|
|
|
| |
OK'ed by: imp, core
Notes:
svn path=/head/; revision=127958
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114433
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99110
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o Change
int
foo() {
...
to
int
foo(void)
{
...
Notes:
svn path=/head/; revision=90111
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81602
|
| |
|
|
|
|
|
|
|
| |
__printflike()/__printf0like() to function prototypes, as appropriate.
Reviewed by: bde, -audit
Notes:
svn path=/head/; revision=75577
|
| |
|
|
|
|
|
| |
Fix a warning.
Notes:
svn path=/head/; revision=53891
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50471
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36150
|
| |
|
|
|
|
|
|
|
| |
arithmetic.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=25226
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22988
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD, me
Notes:
svn path=/head/; revision=20425
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- don't put \n on error() calls, error adds it already.
- don't prepend "ulimit" on error() calls in miscbltin.c.
- getopt typo on ulimit -p -> -u conversion
- get/setrlimit() calls were not being error checked
ulimit formatting cleanup from me, use same wording as bash on Bruce's
suggestion. Add ulimit arg to output on Joerg's suggestion.
Notes:
svn path=/head/; revision=18016
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
merge of parallel duplicate work by Steve Price and myself. :-]
There are some changes to the build that are my fault... mkinit.c was
trying (poorly) to duplicate some of the work that make(1) is designed to
do. The Makefile hackery is my fault too, the depend list was incomplete
because of some explicit OBJS+= entries, so mkdep wasn't picking up their
source file #includes.
This closes a pile of /bin/sh PR's, but not all of them..
Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
Notes:
svn path=/head/; revision=17987
|
| |
|
|
| |
Notes:
svn path=/head/; revision=3044
|
|
|
Notes:
svn path=/head/; revision=1556
|