| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default is to be backwards compatible and non-KNF (use the same
indentation for locals as for globals; -ldi0 gives KNF indentation
for locals (none)). The indentation for globals also applies to struct
member names in local declatations. The indentation of variable names
in multi-line declarations is broken in various ways and this commit
gives some new variations.
indent.1:
Also clarified the description of -di<N>.
Notes:
svn path=/head/; revision=125633
|
| |
|
|
|
|
|
|
|
|
|
| |
nonzero (so that the 1-char indentation given by -di0 is never rendered
by a tab).
Removed garbage commented out code for setting the indentation of variable
names.
Notes:
svn path=/head/; revision=125631
|
| |
|
|
|
|
|
|
|
|
| |
really required anyway.
PR: kern/61994
Submitted by: Bjoern Groenvall <bg@sics.se>
Notes:
svn path=/head/; revision=125630
|
| |
|
|
|
|
|
|
| |
message and wasn't quite ready (it avoided indenting the names of local
variables).
Notes:
svn path=/head/; revision=125629
|
| |
|
|
|
|
|
| |
which are _fastcall).
Notes:
svn path=/head/; revision=125628
|
| |
|
|
|
|
|
| |
Wisdumb by: Danno Coppock <danno@ipinc.com>
Notes:
svn path=/head/; revision=125627
|
| |
|
|
|
|
|
| |
Reported by: cjc
Notes:
svn path=/head/; revision=125626
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125625
|
| |
|
|
|
|
|
|
|
|
| |
worse than useless because it caused things like mangling of
"^int\tfoo" to "int foo" (this for N = 8). This quick fix breaks
the invariant that characters between s_code and e_code have width 1,
but nothing seems to depend on this.
Notes:
svn path=/head/; revision=125624
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
was mangled to "struct foo * bar". There should be an option to control
this, but no space is normal. This finishes fixing the bugs in rev.1.4.
indent(1) still doesn't really understand types in parameter lists. It
thinks keywords inside parentheses are for casts or sizeofs. This works
accidentally for scalar types and this quick fix makes it work similarly
but not so accidentally for struct/union/enum types.
Notes:
svn path=/head/; revision=125623
|
| |
|
|
|
|
|
|
|
|
|
| |
- Factor out common settings and put them in an upper level Makefile.inc.
- Properly use PROG for real programs, not their products.
- Further reduce diffs to i386 versions.
Tested on: sparc64 (panther)
Notes:
svn path=/head/; revision=125622
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Now that bsd.prog.mk deals with programs linked with -nostdlib
better, and has a notion of an "internal" program, use PROG
where possible. This has a good impact on the contents of
.depend files and causes programs to be linked with cc(1).
XXX: boot2 couldn't be converted as it's actually two programs.
Tested on: i386, amd64
Notes:
svn path=/head/; revision=125621
|
| |
|
|
|
|
|
|
|
|
| |
- Don't put libc.a as a dependency if program is linked with -nostdlib.
- Added INTERNALPROG (by analogy to INTERNALLIB) for programs which are
built only for its side effect and shold not be installed.
Notes:
svn path=/head/; revision=125620
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the number of typedef-names is not so limited. Same as in rev.1.4.
Added the "const" and "volatile" to the keyword table. Rev.1.4 added
these but they were misclassified so they were not formatted as types.
indent still doesn't really understand them. E.g., it mangles
"char * const *foo" and "char *const *foo". This change mainly stops
it mangling "char const foo" to "char<declaration-indent>const foo".
Notes:
svn path=/head/; revision=125619
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
properly. Of the 3 changes mentioned in the log message for rev.1.4,
the first (implementing -[n]fcb) was correct but didn't touch this
file, the second (no-space-after-sizeof) was not actually done (it is
the default and is controlled by the undcoumented -[n]bs options), and
the third (no-space-after 'struct foo *') was very buggy and was reduced
to wrong comments and other style bugs by backing out the main part
of it in rev.1.6. Rev.1.4 had 2 changes which were not mentioned in
its commit log: expand specials[] so that more than -83 typedef-names
can be specified (this was the one working change in rev.1.4), and add
"const" and "volatile" to specials[] (this was buggy).
Notes:
svn path=/head/; revision=125618
|
| |
|
|
|
|
|
|
|
| |
in Motorola processor errata.
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Notes:
svn path=/head/; revision=125617
|
| |
|
|
|
|
|
| |
PR: kern/62276
Notes:
svn path=/head/; revision=125616
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125615
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125614
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
hostname rather than an IP. The code was copying the pointer to the
IP address instead of the IP address itself. The bug has existed
ever since ypset was first imported in 1994.
PR: bin/62550
Submitted by: aardvark@saintaardvarkthecarpeted.com
MFC after: 1 week
Notes:
svn path=/head/; revision=125613
|
| |
|
|
|
|
|
|
|
|
| |
Support "uprocp" exactly like "paddr" with the former having been
documented in the manual but not implemented.
PR: 42484
Notes:
svn path=/head/; revision=125612
|
| |
|
|
|
|
|
|
|
| |
many casts.
Reviewed by: bde
Notes:
svn path=/head/; revision=125611
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Ensure that the buffer ends with "\n\0" to avoid special cases
and allow the use of strtol().
- Use strvisx() on each complete line instead of character by
character.
Submitted by: bde
MFC after: 1 week
Notes:
svn path=/head/; revision=125610
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125606
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
lookup on an IP address from the packet (such as the IP that sent
a TTL exceeded error). If the DNS lookup takes a long time, ^C will
appear to be ineffective since the SIGINT handler just sets a flag
and returns. Work around this by exiting immediately on receipt of
a second SIGINT when DNS lookups are enabled.
PR: bin/4696
MFC after: 1 week
Notes:
svn path=/head/; revision=125605
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125604
|
| |\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=125602
|
| | |
| |
| |
| | |
Notes:
svn path=/vendor/one-true-awk/dist/; revision=125601
|
| | |
| |
| |
| |
| |
| |
| | |
this from looking at code generated by gcc.
Notes:
svn path=/head/; revision=125600
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=125599
|
| | |
| |
| |
| |
| |
| |
| | |
and altmem ranges mapped.
Notes:
svn path=/head/; revision=125598
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
enabling. Instead, go to an interrupt/polled model.
Fix get_lun_statep so we don't panic if there are no wildcard luns enabled.
MFC after: 6 days
Notes:
svn path=/head/; revision=125597
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
enabling. Instead, go to an interrupt/polled model.
MFC after: 6 days
Notes:
svn path=/head/; revision=125596
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- notify a proper path MTU to applications.
Obtained from: KAME
Notes:
svn path=/head/; revision=125595
|
| | |
| |
| |
| |
| |
| |
| | |
Submitted by: Andre Guibert de Bruet
Notes:
svn path=/head/; revision=125594
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the "disappearing subdisks" problem when new subdisks can't be created
due to some errors.
This is in fact an ugly hack, but a more elegant solution would probably
require a redesign of vinum in several places.
Approved by: joerg (mentor)
Notes:
svn path=/head/; revision=125593
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
checks that the code actually performs. Judging from the 4.2BSD
release notes, the docs have only been out of date for 20 years.
PR: 29844
Notes:
svn path=/head/; revision=125592
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=125591
|
| | |
| |
| |
| |
| |
| |
| | |
Problem reported by: Flemming Jacobsen <fj@batmule.dk>
Notes:
svn path=/head/; revision=125590
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=125587
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mindful of blocking on disk I/O and instead return EBUSY when such
blocking would occur.
Results from the DeBox project indicate that blocking on disk I/O
can slow the performance of a kqueue/poll based webserver. Using
a flag such as SF_NODISKIO and throwing connections that would block
to helper processes/threads helped increase performance.
Currently, only the Flash webserver uses this flag, although it could
probably be applied to thttpd with relative ease.
Idea by: Yaoping Ruan & Vivek Pai
Notes:
svn path=/head/; revision=125586
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
the first place.
Suggested by: bde
Notes:
svn path=/head/; revision=125585
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=125584
|
| | |
| |
| |
| |
| |
| |
| | |
may block on ndis_get_info().
Notes:
svn path=/head/; revision=125583
|
| | |
| |
| |
| |
| |
| |
| | |
not the other way around.
Notes:
svn path=/head/; revision=125582
|
| | |
| |
| |
| |
| |
| |
| | |
Reported by: kris
Notes:
svn path=/head/; revision=125581
|
| | |
| |
| |
| |
| |
| |
| |
| | |
PR: 62481
Submitted by: Ulrich Spoerlein <q at uni.de>
Notes:
svn path=/head/; revision=125580
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=125579
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
binary as the rest of it.
Add MD5 check that the md(4) device gets set up correctly.
Notes:
svn path=/head/; revision=125578
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=125577
|