OpenBSD CVS

CVS log for src/usr.bin/telnet/utilities.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Tue Aug 22 15:04:18 2017 UTC (6 years, 8 months ago) by bluhm
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, HEAD
Changes since 1.21: +17 -19 lines
Diff to previous 1.21 (colored)

Use a boolean variable to remember the quotation level instead of
doing string pointer arithmetic.  Fixes a clang warning.
OK otto@ tom@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 9 03:41:08 2014 UTC (9 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.20: +10 -12 lines
Diff to previous 1.20 (colored)

Eliminate a pile of casts that were superfluous or wrong, or that were
the result of bad type choices, particularly (unsigned char *) vs
(const char *).  Also, use reallocarray().

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 22 07:30:24 2014 UTC (9 years, 10 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.19: +21 -32 lines
Diff to previous 1.19 (colored)

use ansi style function declarations
with suggestions from and ok guenther@

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 20 12:08:55 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)

Eliminate silly call() routine that fakes up internal calls as if
the user typed in undocumented arguments by splitting two functions
and doing normal (shock!) C calls.

Move extern declarations to externs.h
Eliminate another function cast

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 20 09:20:48 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Delete an insane chunk of code for handling broken poll() emulation.
Pass poll() INFTIM instead of -1

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 20 08:56:47 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Add prototypes to some function callbacks and fix the type errors that
this reveals.
Make NetTrace static to utilities.c

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 20 08:12:46 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored)

More encryption tentacles: intr_happened and intr_waiting vanish
Push more includes into .c files
Make ring.c only need ring.h

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 20 07:34:43 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Don't depend on <sys/param.h> for MAXPATHLEN

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 20 06:39:41 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.13: +10 -12 lines
Diff to previous 1.13 (colored)

Correctly cast to unsigned char for ctype functions/macros
Push <ctype.h> and <unistd.h> into the .c files

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 20 05:22:02 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Simplify #includes, start pushing them into the .c files, eliminate
extern declarations from .c files that duplicate those in .h files,
start marking functions with __dead

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 19 23:50:38 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.11: +1 -208 lines
Diff to previous 1.11 (colored)

Flense the telnet code base of unwanted ifdefs: authentication/encryption
tn3270, sgtty, pre-POSIX and other ancient system support, etc.  Brings up
to date the manpage with what we support.

ok matthieu@ beck@ jmc@ millert@ deraadt@ okan@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 21 09:51:24 2013 UTC (11 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.10: +7 -17 lines
Diff to previous 1.10 (colored)

Convert select() to poll().  OK deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 17 20:10:44 2007 UTC (16 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: 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, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, 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.9: +3 -1 lines
Diff to previous 1.9 (colored)

remove "unused variable" warnings

tested by deraadt@ on a gcc2 arch

looks ok ray@ ok deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:18 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, 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, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 3 12:05:58 2003 UTC (21 years, 1 month ago) by hin
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

strcpy -> strlcpy
strcat -> strlcat

ok millert@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 1 06:59:17 2002 UTC (22 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

strlcpy

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

kill more registers

millert@ ok

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 12 04:57:47 1998 UTC (26 years, 2 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.4: +88 -38 lines
Diff to previous 1.4 (colored)

encryption support from kth-krb 0.9.8 (kerberos only)
plus some tweaks for better binary/8-bit support.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 16 04:59:04 1998 UTC (26 years, 3 months ago) by jason
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

fixes to compile against netbsd domestic libtelnet

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 12 11:24:08 1996 UTC (27 years, 5 months ago) by robin
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +4 -6 lines
Diff to previous 1.2 (colored)

Add <sys/socket.h> for setsockopt(2), <unistd.h> for select(2).
Remove two unused variables: `pettydump' and `buf'.
Remove redundant case label: `def_case'.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 27 19:33:15 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +11 -4 lines
Diff to previous 1.1 (colored)

From NetBSD: merge of 960317

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:15 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:46:15 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.