imp
4721d7ef43
#include <errno.h> where needed. Kill extern int errno;.
...
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
bsd
afe650499c
Resurrect the 'cdelay' and 'ldelay' features of /usr/bin/tip.
2000-03-15 15:01:04 +00:00
sheldonh
49c4458c80
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
bsd
0cb88de5b6
Fix a 'tip' core dump caused by a null pointer dereference when
...
sending a file to the remote system.
PR: bin/15660
Reviewed by: jkh
Approved by: jkh
2000-02-22 02:01:17 +00:00
peter
9751ab22ae
Fix warning: return type of main' is not
int'
1999-09-15 01:58:44 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nik
6578739ddb
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
dt
9974523119
Rename a function to avoid conflict with the new syscall 'pwrite'.
1999-04-04 21:47:11 +00:00
dfr
f91b3d0db4
Some 64bit portability fixes.
1998-10-03 11:01:39 +00:00
obrien
14d606547b
Makefile.inc was conditionally setting vars already set by bsd.own.mk
...
which is read before tip's own Makefile is. Move those varables here
where they will do some good.
1998-09-21 08:41:35 +00:00
bde
122886a1e0
Don't assume that time_t is long.
1998-06-29 17:06:00 +00:00
steve
1f377d980c
Fix a few typos.
...
PR: 7092
Submitted by: Kauzo Horikawa <h-horik@yk.rim.or.jp>
1998-06-27 20:32:41 +00:00
imp
04f329cb39
sizeof(foo - 1) isn't the same as sizeof(foo) - 1.
...
Pointed out by: Theo De Raadt.
1998-06-09 14:51:05 +00:00
imp
9a6732bd4e
o Use snprintf rather than sprintf.
...
o Revert gid to caller before a shell so we can run setgid.
o minor style nits to make bruce happy :-)
o use strncpy correctly.
1998-06-09 04:28:05 +00:00
eivind
0954aa00b4
Remove special global tags support; we don't do it that way anymore.
1998-03-26 16:12:14 +00:00
phk
d8ac409160
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
eivind
0e114b0322
Removed a buffer overflow in args().
...
While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.
1997-08-26 10:25:19 +00:00
imp
4760384ee3
Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
...
to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable
buffer overflow in tipout.c.
Reviewed by: millert@openbsd.org (tipout.c)
Submitted by: millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00
imp
7623afeb40
Fix buffer overflow. prompt didn't get a size for its buffer,
...
so it could overflow it. Also made some filenames MAXPATHLEN long rather
than 80 long.
1997-08-22 22:14:16 +00:00
charnier
6fbe0aac6d
Add prototypes, usage(). Use err(3).
1997-08-18 07:16:12 +00:00
peter
486333fcfd
kill the undead
1997-07-13 14:26:00 +00:00
bde
08b8316452
This commit was generated by cvs2svn to compensate for changes in r27241,
...
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
bde
4d7f45e259
Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
...
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
max
54ca0a3181
Typo fix.
...
PR: 3869
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-14 19:45:00 +00:00
jkh
d6965698fb
Include types.h before libutil.h
1997-05-11 05:26:11 +00:00
jkh
fabf2fcbdd
Add support for GLOBAL style tags.
1997-04-13 06:47:02 +00:00
bde
1ed283cd49
Fixed DPADD.
1997-04-01 07:37:28 +00:00
brian
cb7f5ad555
Remove the syslog stuff, and allow various return values
...
in uu_lock(). Add uu_lockerr() for turning the results of
uu_lock into something printable. Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly where it should.
Suggested by: ache@freebsd.org
1997-03-31 22:51:00 +00:00
brian
10839f0219
Move uucplock into libutil and create a manual page.
1997-03-30 12:12:20 +00:00
wosch
4bcfb053ec
Sort cross references.
1997-01-15 23:25:55 +00:00
peter
4ef573301c
Do not claim that tip is also called cu.
...
Submitted by: "Ph. Charnier" <charnier@xp11.frmug.org>, PR#1639
1996-09-19 05:14:30 +00:00
bde
11546f4616
Fixed DPADD.
1996-09-05 17:16:10 +00:00
jkh
8eb37231d4
Bring in my changes for removing the pestilent obj links (unless you
...
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
mpp
3c57dc7753
Correct some man page xrefs, and some other minor changes to bring some
...
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
pst
b1ffbc592b
Here's a patch that fixes the problem with modem syncronization
...
problems with tip. There are some hardwired timeouts that ignores the
delay that you can set in the modem configuration file. The hard-wire
delay is to short if the modem has to switch major modes and reset
(ie going from fax to data mode with a reset).
Now my modem transistions from HylaFax control to tip control and ppp mode
without any problems.
Submitted by: Douglas Ambrisko <ambrisko@tcs.com>
1996-03-05 19:11:49 +00:00
ache
ffc84438c1
Eliminate multiply uucplock.c copies
1996-03-04 10:46:29 +00:00
peter
9e723d65b3
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
peter
c3f352d4ad
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
phk
3533369fb8
Make tip recognize EOF in more cases.
1995-11-26 21:08:36 +00:00
phk
894cefde03
We wouldn't want to kill init if our parent died...
...
Spotted by: davidg
1995-10-09 09:51:17 +00:00
phk
63a2b131bd
Die if we get errors from the tty.
1995-10-06 15:32:36 +00:00
ache
c78760f0a7
Rename PATH_LOCK to PATH_UUCPLOCK
1995-09-23 15:17:32 +00:00
ache
22e20af636
Use new _PATH_LOCK
...
Fix bug: pid was not assigned
1995-09-20 13:21:21 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
rgrimes
6543524ac5
Fix nested comments for -Wcomment warnings.
1995-05-09 13:13:29 +00:00
jkh
a772acc31c
Greatly clean up the Makefiles and add a Makefile.inc to more obviously
...
advertise tip's choice of location and perms.
1995-04-01 09:14:37 +00:00
jkh
bf8676024d
I must have been very sleepy last night, sigh..
...
1. Nuke out the aculib files that crept in somehow by mistake.
2. Fix the ${.CURDIR} path so that this stuff actually compiles.
It actually compiled for me before the commit, but I must have had
something short-cutting the bug.
1995-03-31 21:04:48 +00:00
jkh
3242e11e95
Tom Gray's new tip changes to support a modem capabilities database and
...
fixes to many assorted bugs and misfeatures.
Submitted by: Tom Gray - DCA <dcasba@rain.org>
1995-03-31 11:47:39 +00:00
ache
0cd0f4861c
Use ASCII lock instead of BINARY one.
1994-12-19 01:57:17 +00:00