#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
262540 |
|
26-Feb-2014 |
eadler |
I had some unrelated (wrong) changes to makewhatis. Undo them.
|
#
262539 |
|
26-Feb-2014 |
eadler |
linprocfs: add support for /sys/kernel/random/uuid
PR: kern/186187 Submitted by: Fernando <fernando.apesteguia@gmail.com> MFC After: 2 weeks
|
#
237348 |
|
20-Jun-2012 |
delphij |
Currently the code uses gzFile * for a zlib file descriptor, which is not correct. The code works by accident because gzFile is currently defined as void *, and internally it would be casted from or to its real type.
A newer version of zlib will instead define it as a pointer to a specific type pointer (namely, struct gzFile_s *). This therefore would cause stricter checks and compiler would catch this type mismatch.
This change does not cause any changes to the resulting binary, as validated with md5(1).
MFC after: 3 days
|
#
201512 |
|
04-Jan-2010 |
kib |
Modernize scandir(3) and alphasort(3) interfaces according to the IEEE Std 1003.1-2008. Both Linux and Solaris conforms to the new definitions, so we better follow too (older glibc used old BSDish alphasort prototype and corresponding type of the comparision function for scandir). While there, change the definitions of the functions to ANSI C and fix several style issues nearby.
Remove requirement for "sys/types.h" include for functions from manpage.
POSIX also requires that alphasort(3) sorts as if strcoll(3) was used, but leave the strcmp(3) call in the function for now.
Adapt in-tree callers of scandir(3) to new declaration. The fact that select_sections() from catman(1) could modify supplied struct dirent is a bug.
PR: standards/142255 MFC after: 2 weeks
|
#
194798 |
|
23-Jun-2009 |
delphij |
%.s expects an int as the length specifier, so cast properly.
|
#
172752 |
|
18-Oct-2007 |
edwin |
Teach makewhatis.c to treat .SS with the same severity as .SH.
At least one port (net-mgmt/net-snmp) creates man-pages which are in the format:
.SH NAME The Net-SNMP agent \- The snmp agent responds to SNMP queries from management stations.
.PP .SS "Modules"
At this moment, makewhatis determines the end of the .SH NAME section as where it finds .SH again, but there is none here, is it "terminated" by the .SS.
PR: bin/116706 Submitted by: edwin@ Approved by: re (Ken Smith), grog (mentor) MFC after: 1 week
|
#
153115 |
|
05-Dec-2005 |
ru |
Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.
Reviewed by: nyan
|
#
102944 |
|
04-Sep-2002 |
dwmalone |
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings.
Reviewed by: md5
|
#
99533 |
|
07-Jul-2002 |
robert |
Remove a debug output statement.
|
#
99532 |
|
07-Jul-2002 |
robert |
- Fix the code in sbuf_need() to double the allocation size until the new content size fits into the sbuf, instead of assuming that allocating twice the old size is enough. - Use memmove(3) rather than strcpy(3) to copy overlapping strings.
PR: bin/39930
|
#
97976 |
|
06-Jun-2002 |
keramida |
Use size_t or ino_t instead of int, and remove a few warnings. The makewhatis utility is now ok with WARNS=3.
Reviewed by: bde
|
#
97102 |
|
22-May-2002 |
ru |
Unroff all forms of \f and \*, and the simplest form of \s.
Submitted by: fenner, ru Reviewed by: ru, fenner
|
#
96861 |
|
18-May-2002 |
ru |
More whitespace fixes.
|
#
96859 |
|
18-May-2002 |
ru |
Fixed spacing.
|
#
96858 |
|
18-May-2002 |
ru |
Look into machine specific subdirs.
|
#
96845 |
|
18-May-2002 |
markm |
Add C rewrites of catman and makewhatis. These aren't quite as the submitter supplied them, as I did some WARNS=n fixups (mostly const-ification).
Submitted by: John Rochester <john@jrochester.org>
|