| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
mode, and be more accurate about identifying begin lines so that spurious
ones don't have to be manually edited out, and be more forgiving about
errors so that -c mode is more useful.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
o Space used instead of a tab after `#define' and `typedef'.
o Sentences not ended with a period.
o Unaligned function names and other spacing issues.
|
| |
|
|
|
|
|
|
| |
hard-coding /dev/stdout as a special case.
Suggested by: jmallett
|
| |
|
|
|
|
| |
primitives.
|
| |
|
|
|
|
|
|
| |
It seems counter-intuitive that all drivers have to do this.
Pointed in right direction by: gj
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and adjacent tokens in declarations.
The added text was originally a single sentence I wrote and which
was heavily modified and extended by Bruce Evans.
This clarification attempt originates from differing usage of the
'restrict' type-qualifier.
Although various documents documents dicussing the C Programming
Language put a space between an asterisk and the 'restrict' keyword,
including the C99 standard (at least the n869.txt draft) and other
ISO/IEC JTC1/SC22/WG14 documents, the IEEE Std 1003.1-2001 document
does not separate them.
Discussed with: bde
Requested by: tjr
Separation using a single space also liked by: mike
|
|
|
|
|
|
|
|
|
|
|
| |
is a symbolic link in the PATH pointing back to /usr/bin/perl.
Change WARNS from 6 to 5 to account for the fact that sys/time.h,
included from sys/stat.h, produces a warning when compiled with
-pedantic.
PR: bin/42418
Reviewed by: roberto
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
a prerequisite.
- don't include <sys/uma.h>.
Namespace pollution makes "opaque" types like uma_zone_t perfectly
non-opaque. Such types should never be used (see style(9)).
"Fixed" subsequently grown dependencies of this header on its own
pollution by polluting explicitly:
- include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
depending on namespace pollution 2 layers deep in <sys/uma.h>.
|
| |
|
| |
|
|
|
|
| |
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)
|
|
|
|
| |
layers deep in <sys/proc.h> or <sys/vnode.h>.
|
|
|
|
|
|
|
|
| |
- use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
a prerequisite.
- don't include <sys/uma.h>.
Namespace pollution makes "opaque" types like uma_zone_t perfectly
non-opaque. Such types should never be used (see style(9)).
|
|
|
|
|
|
| |
layers deep in <sys/proc.h> or <sys/vnode.h>.
Removed unused includes. Sorted includes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed rename(2) to follow the letter of the POSIX spec. POSIX
requires rename() to have no effect if its args "resolve to the same
existing file". I think "file" can only reasonably be read as referring
to the inode, although the rationale and "resolve" seem to say that
sameness is at the level of (resolved) directory entries.
ext2fs_vnops.c, ufs_vnops.c:
Replaced code that gave the historical BSD behaviour of removing one
link name by checks that this code is now unreachable. This fixes
some races. All vnodes needed to be unlocked for the removal, and
locking at another level using something like IN_RENAME was not even
attempted, so it was possible for rename(x, y) to return with both x
and y removed even without any unlink(2) syscalls (one process can
remove x using rename(x, y) and another process can remove y using
rename(y, x)).
Prodded by: alfred
MFC after: 8 weeks
PR: 42617
|
|
|
|
|
|
|
| |
which became wrong after using do { } while (0) became recommended.
Move the definition of what braces are to their new first occurrence.
Reviewed by: bde
|
|
|
|
| |
other #define FOO.
|
|
|
|
|
|
| |
I/O functions to avoid having to bring in pollution from <stdio.h>.
Suggested by: bde
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
reprobe code working. This bogusness was thrust upon me.
o Don't delete the device if no drivers attach. I had thrust this bogusness
upon others.
These two changes make kldload of a pccard driver work again.
|
| |
|
|
|
|
| |
cis submitted by: phk
|
|
|
|
| |
Reviewed by: phk
|
| |
|
|
|
|
|
|
|
|
| |
While I'm here, fix a gramm-o.
PR: 42576
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 1 day
|
|
|
|
|
|
| |
Implement a version of qsort that provides a thunk to the comparison function.
Update manual pages.
|
|
|
|
| |
and qsort_r() functions. Fix one other missorted declaration.
|
| |
|
|
|
|
|
| |
Big pointy hat to: sobomax (who apparently needs some sleep)
Submitted by: walt <wa1ter@hotmail.com>
|
|
|
|
|
| |
Reported by: keramida, ume
Submitted by: keramida
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: jhb
|
|
|
|
|
|
|
| |
packages.
Pointed out by: obrien
Reviewed by: jhb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
included into pkg_install according to the content of /var/db/pkg_install.conf
file, which specifies version and alternative location of the tools. Format
of the said file is very simple: one line which specifies revision of the
alternative version of the tools and their location separated by space,
i.e.:
20030102 /usr/local/sbin
This would allow bsd.port.mk to install and use up to date version of tools
on older system from ports.
Also add new `-P' flag to pkg_info, which causes it to report currently
installed version of package tools.
Discussed with: will
|
|
|
|
| |
Noticed by: bde
|