History log of /freebsd-11.0-release/usr.sbin/sa/db.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-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


# 277860 28-Jan-2015 dim

Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c:

usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
key.data = (void*)&VERSION_KEY;
^
usr.sbin/sa/db.c:178:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual]
key.data = (void*)&VERSION_KEY;
^

Replace the VERSION_KEY define with a writable char array, so no const
qualifier needs to be dropped anymore.

Submitted by: rdivacky


# 228681 18-Dec-2011 dim

In usr.sbin/sa/db.c, avoid warnings about assigning two const char
arrays to non-const void pointers, by casting away const explicitly.

MFC after: 1 week


# 176433 21-Feb-2008 grog

Ensure that the -s flag truncates the accounting data.

This problem has only been reported on the amd64 platform.

PR: bin/120293
Tested by: Callum Gibson
MFC after: 2 weeks


# 173711 17-Nov-2007 jb

Fix a compiler warning by using a printf format matching the variable
type.


# 169857 22-May-2007 dds

Increase precision of time values in the process accounting
structure, while maintaining backward compatibility with legacy
file and record formats.