OpenBSD CVS

CVS log for src/usr.bin/rcs/ident.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Fri Aug 26 09:02:54 2016 UTC (7 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, HEAD
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Pull in <time.h> for struct tm, used in rcs.h

ok deraadt@

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 2 16:45:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (colored)

Allow rcsnum_free and buf_free to accept NULL and remove various NULL
checks that are now unnecessary, from Michael W Bombardieri. ok millert

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 2 06:23:15 2014 UTC (9 years, 7 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

exit in usage functions themselves; from  Fritjof Bornebusch; ok nicm@

Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 20 19:34:16 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Remove some unneeded includes and dead code, from Michael W Bombardieri.

ok jasper xsa

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 28 09:07:11 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Make BUFs autoextend by default.  This was already done in OpenCVS
a while ago.

OK zinovik nicm

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 23 21:46:05 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
Changes since 1.26: +11 -11 lines
Diff to previous 1.26 (colored)

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 15 10:08:43 2009 UTC (14 years, 7 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

ident(1) does not require arguments; while here, note that this
program uses the standard input, not the standard output, when no
filenames are provided.

ok xsa@

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 9 17:22:34 2007 UTC (16 years, 8 months ago) by ray
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.24: +8 -3 lines
Diff to previous 1.24 (colored)

From Pierre Riteau:
Sync ident behavior with GNU RCS:
- return 1 to the shell if any file could not be opened.
- print an empty line after processing a file unless we couldn't
  open it (and not for the last one).

OK niallo.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 27 07:59:13 2007 UTC (17 years, 2 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.23: +7 -2 lines
Diff to previous 1.23 (colored)

As done in OpenCVS, general includes cleanup sweep. OK otto@.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Feb 8 03:35:09 2007 UTC (17 years, 3 months ago) by ray
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

When getc() returns EOF, either feof() or ferror() will return true,
so no need to check them.  Removes a bitwise OR that should have
been a logical OR as well.

From Pierre Riteau <pierre dot riteau at free dot fr>.

OK joris@.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 7 19:32:49 2006 UTC (17 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Flush printf buffer before directly writing to STDIN_FILENO.  Prevents
the printf output from printing after the rcs_buf_write_fd output.

``ok!'' joris@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 1 05:14:17 2006 UTC (17 years, 9 months ago) by ray
Branch: MAIN
Changes since 1.20: +6 -7 lines
Diff to previous 1.20 (colored)

Reduce rcs_buf_release() usage, improving binary support.

OK niallo@

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 9 12:33:42 2006 UTC (18 years ago) by ray
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Remove /* NOTREACHED */ comments, now that lint is smart about
__dead.  I never should have put them there.

OK xsa@.

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 1 23:03:07 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.18: +23 -16 lines
Diff to previous 1.18 (colored)

prevent a very, very stupid buffer overflow in ident_line().
fix for PR 5091

okay niallo@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 24 16:16:56 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

- do not show file ... as optional
- remove angle brackets
- sync usage()

ok xsa

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 21 14:18:26 2006 UTC (18 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

remove overkill cvs_log() and rather use warn()/warnx().
OK ray@ and discussed with joris@.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 19 06:53:41 2006 UTC (18 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

switch -q handling to bitwise flags; OK ray@ niallo@.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 14 01:11:07 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

excessive addition to brackets is a mental disease.  you will go
blind, too.  seek help.  no binary change, ok joris

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 22 17:04:52 2006 UTC (18 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.13: +11 -13 lines
Diff to previous 1.13 (colored)

change ident_file() and ident_line() return type to void; OK ray@.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 16 04:04:57 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Follow exit() with /* NOTREACHED*/ for lint.

``OK niallo@'' niallo@

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 6 09:41:53 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

many spacing cleanups

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 20 14:35:02 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

typos in comments;

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 5 10:28:24 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

cleanup, move log.h and rcs.h inclusion into rcsprog.h;

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 2 08:13:28 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.8: +2 -8 lines
Diff to previous 1.8 (colored)

#include's cleanup; ok joris@ niallo@.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 30 17:51:12 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

correct usage();

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 23 16:01:47 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.6: +10 -8 lines
Diff to previous 1.6 (colored)

output consistency;

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 16 15:25:29 2005 UTC (18 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

respect -q;

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 13 12:35:30 2005 UTC (18 years, 7 months ago) by joris
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

To be fully compatibly with the GNU RCS tools we need to have the
same way of parsing commandline options. Since getopt(3) allows spaces
between arguments and GNU RCS tools does not we needed to roll out our
own way of option handling, and here it is.

ok niallo@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 12 17:13:30 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

various usage cleanup; ok joris

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 6 19:13:43 2005 UTC (18 years, 7 months ago) by joris
Branch: MAIN
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored)

warn when no keywords were found;

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 6 16:02:42 2005 UTC (18 years, 7 months ago) by xsa
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

tweaks;

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 6 15:39:11 2005 UTC (18 years, 7 months ago) by joris
Branch: MAIN

ident command, written by xsa@ but he is too busy with work right now;

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.