History log of /freebsd/usr.sbin/newsyslog/newsyslog.c (Results 226 – 250 of 347)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


Revision tags: release/2.1.5_cvs
# 2252262f 09-Sep-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Doh! Actually read the patch I applied and see what it was *trying* to do,
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>


# 8e1d470a 06-Sep-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero. Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Su

PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero. Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Submitted-By: Kenneth Stailey <kstailey@dol-esa.gov>

show more ...


# c8d7d3db 09-Jun-1996 Alexander Langer <alex@FreeBSD.org>

Added function prototypes and removed in-line prototypes of standard
functions such as malloc and time.


# d442994e 07-Jun-1996 Alexander Langer <alex@FreeBSD.org>

Fix uninitialized variable that caused a core dump if /etc/newsyslog.conf
was empty. Closes PR bin/1300.

Found by: Brian Tao <taob@io.org>


# 9bf204a7 16-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so

Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for
host and MAXPATHLEN for filenames.
4) call execl with correct parameters (compress -> gzip).

show more ...


# c6bf200d 09-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog


# abf212be 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Obtained from: NetBSD
imported the newsyslog command from NetBSD - it make the "rotation" of
the logfiles much simpler (it is currently done by "hand" in the
/etc/[daily,weekly,monthly] scripts) - no

Obtained from: NetBSD
imported the newsyslog command from NetBSD - it make the "rotation" of
the logfiles much simpler (it is currently done by "hand" in the
/etc/[daily,weekly,monthly] scripts) - now it will be done by invoking
newsyslog every hour which is very customizable via a
/etc/newsyslog.conf file

show more ...


# 6e2776da 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

This commit was generated by cvs2svn to compensate for changes in r13244,
which included commits to RCS files with non-trunk default branches.


# ccc28f77 20-Jan-2010 Xin LI <delphij@FreeBSD.org>

Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation.

Request

Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation.

Requested by: stas
MFC after: 2 weeks
X-MFC with: r200806

show more ...


# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# f65917cd 21-Dec-2009 Xin LI <delphij@FreeBSD.org>

Don't consider non-existence of a PID file an error, we should be able
to proceed anyway as this most likely mean that the process has been
terminated.

PR: bin/140397
Submitted by: Dan Lukes <dan o

Don't consider non-existence of a PID file an error, we should be able
to proceed anyway as this most likely mean that the process has been
terminated.

PR: bin/140397
Submitted by: Dan Lukes <dan obluda cz>
MFC after: 1 month

show more ...


Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0
# 874f1f4e 30-Jan-2008 Xin LI <delphij@FreeBSD.org>

Fix two typos.


Revision tags: release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0
# ccb43d66 17-Aug-2006 Xin LI <delphij@FreeBSD.org>

Use same signedness for i and matched_c. This should make
newsyslog(8) WARNS=6 clean.


# 7697c5e4 22-Jul-2006 Maxim Sobolev <sobomax@FreeBSD.org>

Remove mention of the `W' flag, which has been turned to no-op by the
neworder change. Keep the option in a config file parser, to not
violate POLA.

MFC after: 2 weeks


# 656f7730 28-Jun-2006 Garance A Drosehn <gad@FreeBSD.org>

Remove the last three calls to strncpy(), two of which would have
been bugs if the source had ever been too big for the destination.

MFC after: 3 weeks


# a04de8fa 27-Jun-2006 Garance A Drosehn <gad@FreeBSD.org>

Remove the "oldorder" processing. The "neworder" processing has
been the default for two years now, without any problems reported.

MFC after: 3 weeks


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0
# 616270cb 20-Jan-2006 Garance A Drosehn <gad@FreeBSD.org>

Improve error-handling related to the fork() done to compress files after
they have been rotated. Among other things, use warnx() instead of warn()
for some messages where the value if errno is irre

Improve error-handling related to the fork() done to compress files after
they have been rotated. Among other things, use warnx() instead of warn()
for some messages where the value if errno is irrelevant to the problem
being reported.

MFC after: 5 days

show more ...


# 4fd87db9 01-Dec-2005 Maxim Sobolev <sobomax@FreeBSD.org>

Fix logic error which causes <null> to be printed instead of the
actual file name in error message.

MFC After: 2 weeks


Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# deea909a 03-Mar-2005 Brooks Davis <brooks@FreeBSD.org>

Add the -N option to not rotate any files. This is to be used in
cojunction with -C and is used by /etc/rc.d/newsyslog.

I forgot that this was in my perforce tree and not my running system and
thus

Add the -N option to not rotate any files. This is to be used in
cojunction with -C and is used by /etc/rc.d/newsyslog.

I forgot that this was in my perforce tree and not my running system and
thus committed a non-working newsyslog script.

Reported by: des
Pointy hat: brooks

show more ...


Revision tags: release/4.11.0_cvs, release/4.11.0
# 9e3daa8d 04-Jan-2005 Xin LI <delphij@FreeBSD.org>

Because the `permission' field in conf_entry is intended to be used as
parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t),
it's more likely that it should be defined as an unsigne

Because the `permission' field in conf_entry is intended to be used as
parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t),
it's more likely that it should be defined as an unsigned variable.

This commit should make newsyslog WARNS=6 clean, but don't bump the knob
until I have a universe build.

MFC After: 1 month

show more ...


Revision tags: release/5.3.0_cvs, release/5.3.0
# 5616e1bc 06-Oct-2004 Brooks Davis <brooks@FreeBSD.org>

Mention "-d directory" in usage().

Pointy hat to: brooks


# 59fdf30f 06-Oct-2004 Brooks Davis <brooks@FreeBSD.org>

Don't prepend the directory specified by -d when the file is a relative
path. Doing so makes no sense. I'm not sure allowing relative paths
makes sense either, but I'm not going to break that now.


# 842ba60e 05-Oct-2004 Brooks Davis <brooks@FreeBSD.org>

Add a new -d argument which is used to specify an alternate root for log
files similar to DESTDIR in the BSD make process. This only affects log
file paths not config file (-f) or archive directory

Add a new -d argument which is used to specify an alternate root for log
files similar to DESTDIR in the BSD make process. This only affects log
file paths not config file (-f) or archive directory (-a) paths.

show more ...


12345678910>>...14