#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
229247 |
|
01-Jan-2012 |
dim |
MFC r228714:
In usr.sbin/timed, fix several issues with printf formats: - Cast time_t's to long, and print them with %ld. - Print ptrdiff_t's with %td. - Print ssize_t's and size_t's with %zd and %zu. - Print int32_t's with %d. Also, replace some int variables with the more appropriate size_t.
MFC r228719:
Some people pointed out long is 32-bit on some arches, while time_t is 64-bit, so better cast time_t to intmax_t, and use the appropriate printf format strings.
MFC r228720:
Fix r228719; when you use intmax_t, you need stdint.h.
Pointy hat to: dim
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
216372 |
|
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.sbin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
|
#
125456 |
|
04-Feb-2004 |
johan |
Fix typo, s/transmitts/transmits/
PR: 62346 Submitted by: Gavin Atkinson (gavin at ury.york.ac.uk)
|
#
117278 |
|
06-Jul-2003 |
charnier |
de-__P use port/proto to represent services (not proto/port). add FBSDID
|
#
116078 |
|
09-Jun-2003 |
imp |
Change incorrect strings.h to more correct string.h to pick up declarations for strlcpy, strlen, strmp and strcpy.
|
#
90868 |
|
18-Feb-2002 |
mike |
o Move NTOHL() and associated macros into <sys/param.h>. These are deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386 Reviewed by: bde, jake, tmm
|
#
86645 |
|
20-Nov-2001 |
jhb |
Unifdef all the SGI code. It mainly added clutter while providing some specialized logging, SGI-specific priority massaging, and SCI-specific time trimming support. Also add missing $FreeBSD$'s.
Inspired by: NetBSD
|
#
81946 |
|
20-Aug-2001 |
kris |
The timed protocol is not implemented in a compatible way by all vendors; the size of the tsp_name field is OS-dependent. 4.3BSD used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte field. As a result, sanity checking code added a few months ago to detect short packets will fail when interoperating with one of these other vendors.
Change the short packet detection code to expect a minimum packet size corresponding to the 4.3BSD implementation, which should be a safe minimum size.
Submitted by: Stephen Whiteley <stevew@best.com> (based on) PR: misc/29867
|
#
76403 |
|
09-May-2001 |
kris |
Patches from OpenBSD: - check the msg.tsp_type value prior to using it as an index into char *tsptype[] - use strlcpy's instead of strcpy's - & handle short packets properly.
Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
30872 |
|
31-Oct-1997 |
charnier |
Make all strings representing hostnames to be NUL-terminated within MAXHOSTNAMELEN chars, like everywhere else in the system, so that strcpy()s and printf()s won't fail.
|
#
30831 |
|
29-Oct-1997 |
charnier |
Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded. Check the return value of gethostname() like in timed. Make enough place to NUL-terminate the result.
|
#
30642 |
|
22-Oct-1997 |
charnier |
Use err(3). Sync man page and usage string. Strcpy -> strncpy from OpenBSD. -Wall cleaning. Obtained from: OpenBSD
|
#
1611 |
|
28-May-1994 |
rgrimes |
Why cast a constant to (unsigned long) when you can make it this by appending UL.
|
#
1554 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1553, which included commits to RCS files with non-trunk default branches.
|
#
1553 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite usr.sbin Sources
|