#
5e3934b1 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
498a0a9c |
|
07-Jul-2023 |
Alfonso Gregory <gfunni234@gmail.com> |
Mark usage function as __dead2 in programs where it does not return In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
|
#
f9fe1649 |
|
04-Jan-2017 |
Alan Somers <asomers@FreeBSD.org> |
Delete dead code in chat(8) It's always been dead, ever since first import in 1994. It's still dead in OpenBSD's version, too. Reported by: Coverity CID: 270586 MFC after: 4 weeks Sponsored by: Spectra Logic Corp
|
#
d2c82c0c |
|
16-May-2016 |
Don Lewis <truckman@FreeBSD.org> |
Fix off by one error that overflowed the rep_len array when doing the final NUL termination. Reported by: Coverity CID: 1007617 MFC after: 1 week
|
#
59009de8 |
|
11-May-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
chat(8): use NULL instead of zero for initializing a pointer.
|
#
bf70bece |
|
19-Oct-2012 |
Ed Schouten <ed@FreeBSD.org> |
More -Wmissing-variable-declarations fixes. In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
#
544c5e5b |
|
28-May-2012 |
Kevin Lo <kevlo@FreeBSD.org> |
Make sure that each va_start has one and only one matching va_end, especially in error cases.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
18ebe779 |
|
06-Mar-2008 |
Xin LI <delphij@FreeBSD.org> |
Merge revisions 1.10 and 1.11 from DragonFly: - Use real getopt() handling instead of the hand-rolled and IOCCC-worthy "Micro getopt()" macros, plus clean up to the option handling code: * Sort the options in the switch statement; * Plug piddling memory leaks when processing repeated options by freeing strings before allocating them for a second time; * Die with a fatal error if the requested report file cannot be opened for appending; * Don't call init() before usage() (to prevent the usage message being mangled by changes to the terminal settings;) - Clean up the usage message, both in usage() and in the main program comment, both stylistically (sort and combine options) and for accuracy (following the manual page, make note of the -s and -S flags, and use the term 'send' instead of 'say' to reduce confusion (SAY is the name of a command for output to the user, not the connection.)) Obtained from: DragonFly
|
#
8491f234 |
|
30-Oct-2003 |
Tim Kientzle <kientzle@FreeBSD.org> |
Rename logf --> chat_logf to avoid naming conflicts with GCC built-in (and with C90 reserved library name). Approved by: gordon (Mentor)
|
#
ee6b974c |
|
22-Aug-2003 |
Mark Murray <markm@FreeBSD.org> |
Big cleanup. Remove unused stuff, make closer to style(9). OK'ed by: peter (long time ago)
|
#
93b0017f |
|
25-Aug-2002 |
Philippe Charnier <charnier@FreeBSD.org> |
Replace various spelling with FALLTHROUGH which is lint()able
|
#
3a7fc8ce |
|
18-Aug-2002 |
Juli Mallett <jmallett@FreeBSD.org> |
Remove local prototypes for main().
|
#
f1bb2cd2 |
|
21-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
remove __P
|
#
e1b4d8d0 |
|
26-Jul-2001 |
Sheldon Hearn <sheldonh@FreeBSD.org> |
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
|
#
4e83a8fe |
|
25-Nov-1999 |
Kris Kennaway <kris@FreeBSD.org> |
Fix a buffer overflow due to sending strings >1k in length. This is unlikely to be a security problem, but it's not totally impossible. OpenBSD take note Reviewed by: imp
|
#
c3aac50f |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
fa146c53 |
|
06-Dec-1998 |
Archie Cobbs <archie@FreeBSD.org> |
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
|
#
7288c503 |
|
23-Jun-1998 |
Peter Wemm <peter@FreeBSD.org> |
Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth)
|
#
cbe7f651 |
|
23-Jun-1998 |
Peter Wemm <peter@FreeBSD.org> |
Import chat from pppd 2.3.5 onto vendor branch.
|
#
01c855ca |
|
21-Mar-1998 |
Peter Wemm <peter@FreeBSD.org> |
merge ppp-2.3.3 changes onto mainline
|
#
8dae36c8 |
|
21-Mar-1998 |
Peter Wemm <peter@FreeBSD.org> |
Import ppp-2.3.3 chat onto vendor branch
|
#
d7d10053 |
|
28-Dec-1997 |
Alexander Langer <alex@FreeBSD.org> |
-Wall cleanup.
|
#
3d793cf1 |
|
22-Aug-1997 |
Peter Wemm <peter@FreeBSD.org> |
Merge ppp-2.3.1 changes onto mainline
|
#
cd720a5e |
|
22-Aug-1997 |
Peter Wemm <peter@FreeBSD.org> |
Import chat(8) from ppp-2.3.1 distribution Obtained from: Paul Mackerras <paulus@cs.anu.edu.au>
|
#
afaeb553 |
|
24-Jun-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Remove use of program_name variable.
|
#
39746e46 |
|
02-Apr-1997 |
John-Mark Gurney <jmg@FreeBSD.org> |
make it so that chat doesn't fail when it can't get terminal params.. this allows it to work on non-tty input... also don't warn when this happens as it could get noisy... Silence is Acceptance
|
#
c115df18 |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
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 long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
9f65f104 |
|
31-Oct-1995 |
Peter Wemm <peter@FreeBSD.org> |
Merge in changes from ppp-2.2's chat onto the mainline...
|
#
2253b288 |
|
31-Oct-1995 |
Peter Wemm <peter@FreeBSD.org> |
Vendor branch import of chat from ppp-2.2 package..
|
#
7799f52a |
|
30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
322c9624 |
|
18-Dec-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use proper lock dir name
|
#
9b1aec48 |
|
11-Nov-1994 |
Lars Fredriksen <lars@FreeBSD.org> |
chat for ppp, from ppp 2.1.2
|