Bill Fumerola
9ef5c48bef
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
Dmitrij Tejblum
aac6614bdc
Don't ignore weak symbols.
...
EGCS assign weak symbols to inline functions it couldn't inline (e.g. virtual
inline functions), template functions, etc. Omitting them result in quite bogus
profile.
Weak symbols created by __weak_reference are not really problem.
Caught by: Ilya Segalovich <iseg@comptek.ru>
1999-07-03 12:30:04 +00:00
Dag-Erling Smørgrav
19364f02eb
Reverse the FTP_PASSIVE_MODE check, so it checks for "is not NO" rather
...
than "is YES".
1999-07-03 10:10:50 +00:00
Bill Fumerola
573d228c9a
Remove unused variable.
...
Approved By: phk
1999-07-02 20:46:03 +00:00
Bill Fumerola
465ebdc6e3
Add braces to avoid ambigious else.
1999-07-02 15:26:53 +00:00
Ruslan Ermilov
0b7a57dd48
o use getprotobynumber(3) instead of hardcoded protocol names.
...
Divert(4) sockets will now appear as "internet raw divert"
instead of "internet raw 254".
o -Wall tweak.
Reviewed by: bde
1999-07-02 13:25:49 +00:00
Bruce Evans
95103bc098
Actually fixed ambiguous else. The previous revision had no effect.
1999-07-02 11:20:59 +00:00
Brian Feldman
90331af0d2
"transfered" -> "transferred"
...
Reviewed by: dict(1)
1999-07-02 08:57:06 +00:00
Bill Fumerola
f32e012b12
Fix ambigious else.
...
Reviewed By: eivind
1999-07-01 17:59:17 +00:00
Ruslan Ermilov
69d00ab7ca
Document that FTP_PASSIVE_MODE should be explicitly
...
set to `YES' for passive mode to be used by default.
Just setting FTP_PASSIVE_MODE is not sufficient, as
it was before.
Noted by: eivind
Reviewed by: des
1999-07-01 14:32:07 +00:00
Bill Fumerola
4d294cadd5
(1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.
...
(2) Die when there is a problem opening at.allow other then it not existing.
An error other then it not existing might be a trick to somehow
circumvent system security.
Mostly Reviewed By: msmith
1999-07-01 01:07:30 +00:00
Kris Kennaway
624a0c8204
retreived -> retrieved
...
Obtained from: OpenBSD
1999-06-30 12:53:06 +00:00
Bruce Evans
9810672047
Decode all currently supported values of the ptrace `request' arg.
1999-06-26 07:31:13 +00:00
Bill Fumerola
6f955dc9b6
Make a reference to rtprio, which will definatly be of interest to someone
...
looking at this page.
Requested By: Keith Stevenson <k.stevenson@louisville.edu>
1999-06-25 20:54:33 +00:00
Ruslan Ermilov
f62092b8c3
- add "-s src_addr" option to allow setting of the source IP address;
...
- fix two minor bugs;
- slightly cleanup manpage.
1999-06-25 14:11:16 +00:00
Warner Losh
b1bd32ef4a
Don't add '?' to getopt's options.
1999-06-24 06:45:32 +00:00
Mike Pritchard
a684cccdd6
Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
...
that whatis(1) will produce the expected results.
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
Mike Pritchard
aee054de4a
Add the 'reset' command to the NAME section.
...
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 04:48:41 +00:00
Sheldon Hearn
8a56be1af7
Add a messy example of how to get debug-mode error messages written to
...
a file in the user's home directory.
Requested by: hoek
1999-06-23 15:44:40 +00:00
Tim Vanderhoek
2a059832d8
Don't strip trailing .suffixes from filenames. Although obviously
...
intentional, this behaviour is far too obnoxious given the number of
filenames such as rpc.statd we have.
Submitted by: Chris Costello [3]chris@calldei.com (bin/11303)
1999-06-21 19:52:09 +00:00
Sheldon Hearn
6bad8b7d57
Add missing argument to synopsis.
...
PR: 11805
1999-06-21 12:09:31 +00:00
Brian Feldman
378949dbca
This fixes the problem of cancelling an FTP transfer resulting in
...
a bogus error ("parsing URI".) I also fixed an inconsistency in
another fs_status.
1999-06-21 02:38:16 +00:00
Sheldon Hearn
1427b87c55
Postpone call to usage() until after all options are processed so that
...
the -d debugging option produces consistent behaviour.
1999-06-18 08:52:13 +00:00
Sheldon Hearn
4b54a72dab
Please forgive me, it's my first day on the block. Forgot to mention:
...
PR: 11987
1999-06-17 14:49:19 +00:00
Sheldon Hearn
f21ecb5f63
Null commit to reflect that the previous commit added warnings for
...
previously unreported malloc() failures, and changed the exit status
for those failures to encourage MTA retries.
1999-06-17 14:48:02 +00:00
Sheldon Hearn
42a1247753
* Add a command-line option to enable debugging mode, which sends error
...
messages to stderr instead of syslog.
* Fix manpage with respect to diagnostics.
Reported by: rfg@monkeys.com (Ronald F. Guilmette)
1999-06-17 14:44:42 +00:00
Ruslan Ermilov
a6bd23ccf6
Add "-N" option to the SYNOPSIS and usage().
1999-06-17 07:12:39 +00:00
Dmitrij Tejblum
7a6ec4cfb2
Syscall arguments are now properly aligned. Print them, and syscall return
...
values, as longs, instead of int.
1999-06-16 18:46:40 +00:00
Ruslan Ermilov
ec5035fa0b
Add "-s src_addr" option to allow setting of the source IP address.
1999-06-16 15:26:22 +00:00
Mike Pritchard
d9a91c1439
Correctly document the two different object file formats that can be
...
used with objformat.
PR: 10877
1999-06-15 19:19:51 +00:00
Ruslan Ermilov
1c51699372
It was possible to circumvent telnet's security ``-E'' (no escape at all)
...
option by running it with ``-8 -E'' and passing it 0xff character.
PR: 6317
Reviewed by: des, David Borman <dab@bsdi.com> (the author)
1999-06-14 18:46:15 +00:00
Nick Hibma
33d56839e3
Man pages for top refer to only 2.x, but not to 3.x and later
1999-06-14 12:06:11 +00:00
Foxfair Hu
c6570d1dc3
Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
...
It makes compatible with IANA charset defination, and let existent I18N
app happier.
Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets >
1999-06-08 02:25:19 +00:00
Dag-Erling Smørgrav
ff7b59cd9e
Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again.
...
PR: bin/12070
Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
Specifically check that FTP_PASSIVE_MODE is set to YES, rather than
just checking if it is defined.
Discussed on: freebsd-current
1999-06-07 16:35:15 +00:00
Kris Kennaway
735df1561f
Correct description of -c and -w options
...
Inspired by: PR docs/11774
Submitted by: Chad R. Larson <chad@freeway.dcfinc.com>
1999-06-06 14:16:51 +00:00
Kris Kennaway
b9569cad67
The -perm option takes argument [-]mode, not [-mode]
...
Obtained from: NetBSD, by way of OpenBSD
1999-06-06 07:37:18 +00:00
Tim Vanderhoek
296697bb16
- When trying to decide if $EDITOR == "vi", match against only the first
...
two characters of $EDITOR. This allows things like "vim" and "vi -G"
(although nvi would fail...oh well).
- Avoid certain cases where the editor is passed an invalid line number.
1999-06-05 20:27:08 +00:00
Ruslan Ermilov
436d5d04f4
Fix a width.
1999-06-05 15:03:47 +00:00
Julian Elischer
8759eb5c80
Support the IANA definition of Shift Jis nameley ja_JP.Shift_JIS
...
as well as the X11 version ja_JP.SJIS
1999-06-05 03:04:03 +00:00
Tim Vanderhoek
c5b52d6d9d
No, the space required for a string is strlen() _plus_ one... Oops.
1999-06-04 19:35:22 +00:00
Ruslan Ermilov
c3e53c0457
getvfsbyname() returns zero on success.
...
PR: 12000
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1999-06-03 09:03:50 +00:00
Tim Vanderhoek
5bba1d262a
Don't print backspaces in first column since they backup to the prev line.
1999-06-02 03:42:39 +00:00
Tim Vanderhoek
ac8ab44cf6
Grok gtags too.
1999-06-01 20:02:34 +00:00
Tim Vanderhoek
0ac2ad320e
General code cleanup [incomplete]. Make the arrow keys work.
1999-05-30 18:06:58 +00:00
Bruce Evans
ca4449cf8c
Fixed usage message to almost match the man page. The old -d option and
...
the new -i option were missing.
Fixed style bugs in previous commit:
(1) initialisation of a local variable in its declaration.
(2) inconsistency of (1) with style of nearby code.
(3) disorder of declaration for (1).
(4) a line longer than 80 characters.
(5) bitrot in the printf() -> err() cleanups to help bloat the line in (4).
1999-05-27 12:58:41 +00:00
Tim Vanderhoek
168de44296
Handle ".if ${T} > 1 || ${T} < 3" and friends correctly.
...
Reported-by: asami
1999-05-25 13:45:08 +00:00
Peter Wemm
7c8dec7b63
Add a -i localname switch (restricted to root) to specify a different
...
local "login" name for rcmd(3). This is particularly useful for things
like portslave and other packages with terminal server functionality
where a login can either run ppp locally or get shunted off to another
box via rlogin depending on radius authentication etc. Quite often the
local box doesn't even have accounts, so a flag such as this is needed.
Obviously this is restricted to callers with uid == 0.
1999-05-25 11:14:33 +00:00
Jean-Marc Zucconi
ef9866be68
xargs was spliting the input in a very different way from everyone else,
...
and was also a bit inconsistent: leading blanks, or any double blanks
generated empty arguments, but a trailing blank did not.
PR: bin/2630, bin/10914
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1999-05-23 15:58:22 +00:00
Jean-Marc Zucconi
7e74cac42e
Construct the profile file name from the name of the executable. A program
...
compiled with -pg and run will generate a file <executable-filename>.gmon,
not gmon.out.
PR: bin/8426
1999-05-23 00:37:56 +00:00
Tim Vanderhoek
6e01d46b30
If we're going to do such a non-UNIX(tm)y thing as appending output
...
to a file instead of truncating, at least word the notice of output
redirection appropriately.
1999-05-22 06:57:22 +00:00