| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| |
|
|
|
|
|
| |
* Clean up whitespace
* Reindent
Sponsored by: Klara, Inc.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Avoid unnecessary use of `unsigned char *`
* Use explicit casts when assigning `unsigned char *` to `char *` or vice versa
* Drop unused global variables (and fix memory leak in `gettable()`)
* Use `snprintf()` instead of `strcpy()` + `strcat()`
* Drop spurious braces in switch
Sponsored by: Klara, Inc.
Obtained from: Apple OSS Distributions (in part)
Differential Revision: https://reviews.freebsd.org/D37263
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The buffer allocated in read_chat() could be 1 element too short, if the
chatstr parameter passed in is 1 or 3 charachters long (e.g. "a" or "a b").
The allocation of the pointer array does not account for the terminating
NULL pointer in that case.
Overlapping source and destination strings are undefined in strcpy().
Instead of moving a string to the left by one character just increment the
char pointer before it is assigned to the results array.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=343479
|
| |
|
|
|
|
|
|
|
|
| |
Reviewed by: imp@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14197
Notes:
svn path=/head/; revision=329724
|
| |
|
|
|
|
|
|
|
| |
is to test if the CHATDEBUG_SEND bit is set in the chat_debug global.
MFC after: 1 week
Notes:
svn path=/head/; revision=228582
|
| |
|
|
| |
Notes:
svn path=/head/; revision=216582
|
| |
|
|
|
|
|
| |
gettyflags, gettynums and gettystrs are available.
Notes:
svn path=/head/; revision=144716
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126952
|
| |
|
|
|
|
|
| |
Add FreeBSD Id tag where missing.
Notes:
svn path=/head/; revision=108470
|
| |
|
|
|
|
|
|
|
|
| |
namespace pollution only 1 layer deep in <sys/stat.h> for its
prerequisite <sys/time.h>
Removed other unused includes.
Notes:
svn path=/head/; revision=91214
|
| |
|
|
|
|
|
|
| |
o remove register
o use strict prototypes
Notes:
svn path=/head/; revision=90301
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31331
|
| |
|
|
|
|
|
|
|
| |
Fix typo in escape parsing function.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
Notes:
svn path=/head/; revision=29003
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22989
|
| |
|
|
|
|
|
|
|
|
|
|
| |
'sane' standard (not raw) settings before abort/exiting; move
responsibility of setting raw mode for chat-handling out of
chat.c to avoid doing redundant tc{s,g}etattr()s; move DE
pause prior setting standard mode before issue/login prompt to
avoid echoing modem connect strings. Fixed up comment styles
in a couple of places.
Notes:
svn path=/head/; revision=22491
|
|
|
ic=expect/send script modem init script
ac=expect/send script modem answer script
ct#val chat script timeout (seconds)
rt#val recycle timeout (seconds) if 'ac' set
dc#val debug bitmask for debugging chat scripts
hw (boolean) enable crtscts handshaking
if=path 'issue' file sent prior login prompt
chat.c is a simplistic expect/send chat module.
Notes:
svn path=/head/; revision=22208
|