OpenBSD CVS

CVS log for src/usr.bin/msgs/Attic/msgs.c


[BACK] Up to [local] / src / usr.bin / msgs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37, Wed Sep 22 13:01:10 2010 UTC (13 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +1 -1 lines
FILE REMOVED

Kill msgs.  Noone uses it, and it has a longjmp in it.
Lots of agreement.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 22 11:39:01 2010 UTC (13 years, 7 months ago) by pirofti
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

nextmsg could be used uninitialized as well.

``Go ahead, its free'' deraadt@.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Sep 22 11:10:52 2010 UTC (13 years, 7 months ago) by lum
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Initialise firstmsg so we do not have random number when
bounds file is empty.

ok deraadt@ henning@

Revision 1.34 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:40 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.33: +1 -15 lines
Diff to previous 1.33 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 11 18:22:42 2007 UTC (16 years, 8 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.32: +6 -7 lines
Diff to previous 1.32 (colored)

Avoid setting a global pointer variable from signal handlers
OK deraadt

Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 9 12:36:38 2007 UTC (16 years, 8 months ago) by chl
Branch: MAIN
Changes since 1.31: +9 -8 lines
Diff to previous 1.31 (colored)

check fgets return value
use strcspn to properly overwrite '\n' in fgets returned buffer

with help and ok from moritz@ and ray@

Revision 1.31 / (download) - annotate - [select for diffs], Thu May 17 10:59:26 2007 UTC (17 years ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.30: +10 -5 lines
Diff to previous 1.30 (colored)

Check getpwuid() return value for NULL before dereferencing it.

ok ray@ millert@

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jul 4 01:54:10 2005 UTC (18 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.29: +7 -4 lines
Diff to previous 1.29 (colored)

make these use setres[ug]id for simple privilege dropping;
ok deraadt@ millert@ moritz@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Oct 2 04:14:39 2004 UTC (19 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.28: +139 -147 lines
Diff to previous 1.28 (colored)

ftello and fseek ok and such, ok otto

Revision 1.28 / (download) - annotate - [select for diffs], Sat Oct 4 21:55:12 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.27: +5 -3 lines
Diff to previous 1.27 (colored)

- sort options
- document -o
- sync usage() with SYNOPSIS
- various tweaks

ok otto@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 10 22:20:48 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.26: +11 -22 lines
Diff to previous 1.26 (colored)

mostly ansi cleanup; pval ok

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:13 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.25: +3 -7 lines
Diff to previous 1.25 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 7 21:13:54 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

replace strcpy calls that got inlined by gcc; Hans-Joerg.Hoexer@yerbouti.franken.de

Revision 1.24 / (download) - annotate - [select for diffs], Thu Mar 13 09:09:33 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.23: +7 -6 lines
Diff to previous 1.23 (colored)

lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu

Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 8 11:55:07 2002 UTC (21 years, 9 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

sizeof fname, not sizeof *fname

Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 8 10:37:41 2002 UTC (21 years, 9 months ago) by ho
Branch: MAIN
Changes since 1.21: +6 -4 lines
Diff to previous 1.21 (colored)

3rd arg for open, plus some bounds checking. miod@ ok.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:49 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.20: +10 -10 lines
Diff to previous 1.20 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 4 16:22:19 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Don't longjmp(..., 0)

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

kill more registers

millert@ ok

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 4 23:35:59 2001 UTC (22 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored)

Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 2 04:10:48 2000 UTC (23 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.16: +9 -4 lines
Diff to previous 1.16 (colored)

$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zero

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 6 06:24:39 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

snprintf with %s when copying the pager

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 17 09:13:16 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

More <sys/file.h> vs. <fcntl.h> and open() flags fixes.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 10 22:38:03 1999 UTC (24 years, 11 months ago) by pjanzen
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Handle PAGER in a manner consistent with the Single Unix Specification:
that is, use PAGER rather than "more" if it is defined and non-null, not
just if it is defined.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 13 12:59:29 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.12: +14 -4 lines
Diff to previous 1.12 (colored)

create /var/msgs/bounds if it does not exist and reset it to its default
state so the (improved) man page does not lie; emory@hellyeah.com

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 23 23:30:19 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.11: +9 -6 lines
Diff to previous 1.11 (colored)

complain correctly when /var/msgs/bounds does not exist; fullermd@futuresouth.com

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 11 19:02:55 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.10: +19 -19 lines
Diff to previous 1.10 (colored)

oflow, indent

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 28 06:03:51 1997 UTC (27 years ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.9: +10 -8 lines
Diff to previous 1.9 (colored)

Clean up terminal type handling.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 28 05:48:32 1997 UTC (27 years ago) by downsj
Branch: MAIN
Changes since 1.8: +30 -16 lines
Diff to previous 1.8 (colored)

Modernize protyped, switch to libtermlib.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 2 17:21:24 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.7: +11 -9 lines
Diff to previous 1.7 (colored)

buf oflows, thanks imp & millert

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 2 08:28:01 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.6: +11 -9 lines
Diff to previous 1.6 (colored)

use mkstemp (millert, please double check)

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 22 03:25:56 1996 UTC (27 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 28 00:45:58 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.4: +11 -10 lines
Diff to previous 1.4 (colored)

Use snprintf().  Solves $HOME overflow and others.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 16 02:26:12 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

_PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible too

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:18 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

rcsid

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 25 01:02:48 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

mktemp open/fdopen

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:50 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:50 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.