#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
216370 |
|
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
#
132541 |
|
22-Jul-2004 |
johan |
display.c: - 'savech' is only used if it is set a few lines above where it is used, initialize it to silence warning.
- 'length' is either -1 or greater than 0, hence it is safe to cast it to unsigned when comparing it here.
odsyntax.c: - 'p' is assigned either (*argvp)[0] or (*argvp)[1] which both are char *. 'num' and 'end' are assigned values based on 'p'. Hence use char * instead of unsigned char * for these variables.
'&end' as the second argument to strtoll does not need to be casted to char** any more.
This solves a 'dereferencing type-punned pointer will break strict-aliasing rules' warning when compiling with -O2.
parse.c: - 'prec' is only used when sokay == USEPREC and sokay = USEPREC when 'prec' is assigned. Hence 'prec' is not used uninitialized, initialize it to silence warning.
- The code involving 'nextpr' is hard to follow, but I belive 'nextpr' will not be used unless it is initialized. Anyway, IF 'nextpr' is used uninitialized it is better to get a consistant error (seg fault, when dereferencing a NULL pointer) than potentially accessing some random memory.
The above changes makes hexdump WARNS=6 clean even when compiled with -O2. Hence bump WARNS to keep it clean.
Tested by: CFLAGS='-O2 -pipe' make universe
|
#
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
|
#
99112 |
|
30-Jun-2002 |
obrien |
Consistently use FBSDID
|
#
96798 |
|
17-May-2002 |
tjr |
Make the output tidier when multiple integer formats are requested by attempting to line up values into columns.
Obtained from: NetBSD (idea)
|
#
96795 |
|
17-May-2002 |
tjr |
Overhaul hexdump's od syntax code to handle the -s -A -j -N -t options that SUSv3 requires and give od a proper manual page.
PR: 36783
|
#
96793 |
|
17-May-2002 |
tjr |
Declare variables that were extern'd in multiple places in hexdump.h.
PR: 36783
|
#
96787 |
|
17-May-2002 |
tjr |
Un-deprecate od(1): rename the `deprecated' variable to `odmode', remove the deprecation warning from the utility and manual page. Since this utility is required by POSIX, it's not likely to be removed any time soon.
This is leading up to the addition of the P1003.1-2001 -s -A -j -N -t options.
PR: 36783
|
#
92920 |
|
21-Mar-2002 |
imp |
remove __P
|
#
82766 |
|
01-Sep-2001 |
ache |
File positions are off_t nowdays, not long, so: strtol -> strtoll fseek -> fseeko
NOTE: that fseek not works for >long offsets files per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48566 |
|
04-Jul-1999 |
billf |
Clean up some ambiguous nested if/elses.
|
#
30921 |
|
04-Nov-1997 |
ache |
Localize it
|
#
27315 |
|
10-Jul-1997 |
charnier |
Use err(3) instead of local redefinition, incorporate `hd' in usage str.
|
#
24360 |
|
29-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
23693 |
|
11-Mar-1997 |
peter |
Merge from Lite2
|
#
8874 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|