| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
atoi -> strtoll
fseek -> fseeko
NOTE: that fseek not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
Fix minor cast too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-O, which limits the impact of the write-only restriction to guest
users.
*) The existing manual page's SYNOPSIS and option listing in the
DESCRIPTION are already horribly disordered. No attempt has been
made to fix this.
*) The existing source's getopt() optstring and option handling switch
are already horribly disordered. No attempt has been made to fix
this.
Discussed with: nik, -audit
|
|
|
|
|
|
|
|
|
|
|
| |
long -> time_t
%ld -> %qd
fseek -> fseeko
NOTE: that fseek not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
|
| |
|
|
|
|
|
|
|
|
|
| |
preventing anyone from downloading files. In conjunction with -A, and some
appropriate file permissions, this lets you create an anonymous FTP drop
box for people to upload files to.
The more obvious "-w" flag is already taken by NetBSD's ftpd. "-o" was
available as an option letter in all three BSDs.
|
|
|
|
| |
This fixes the apparent immediate client timeout problem.
|
|
|
|
|
|
|
| |
That define may still be present in the source, but I don't think
anyone has plans to try to use it.
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
socket was closed.
This prevents erroneous ``Unexpected netgraph version'' from turning
up in the log.
|
|
|
|
|
| |
PR: docs/25657
Obtained from: OpenBSD
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
| |
Also remove conditional (AUTHENTICATION) code as we have never compiled
it here, and it is doubtful that it even works in this scenario.
|
| |
|
|
|
|
| |
with a trailing zero-width space: `e.g.\&'.
|
|
|
|
|
|
|
| |
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
|
| |
|
|
|
|
|
|
|
|
| |
Prevents simultaneous calls to updatestat() as function is not reentrant.
PR: bin/24857
Submitted by: Martin Butkus <mb@bagheera.thgwf.de>
MFC after: 1 month
|
|
|
|
| |
Suggested by: bde
|
|
|
|
|
|
| |
Start new sentences on new lines in pppoed.8.
MFC after: 1 week
|
|
|
|
|
|
| |
don't block in NgRecvData() after receiving a signal.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.
Reviewed by: sheldonh, assar
Obtained from: NetBSD/OpenBSD
|
|
|
|
|
|
|
| |
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
|
|
|
|
|
|
| |
PR: 28885
Submitted by: Gregory Bond <gnb@itga.com.au>
MFC After: 1 week
|
|
|
|
|
|
| |
PR: 29190
Submitted by: Cristan Szmajda <cristan@unsw.edu.au>
Reviewed by: md5(1)
|
|
|
|
|
| |
Obtained from: OpenBSD
MFC After: 1 week
|
|
|
|
| |
to ensure deterministic operation
|
|
|
|
|
| |
Obtained from: OpenBSD
MFC After: 1 week
|
| |
|
| |
|
| |
|
|
|
|
| |
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
| |
with the conversation function and challenges which needs to be
revisited, so in the interim a hack is introduced to provide
an OPIE challenge (which is random if OPIE does not apply)
at all non-anonymnous logins.
|
|
|
|
|
| |
I believe I have done due dilligence on this, but I'd appreciate
decent test scenarios and sucess (or failure) reports.
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/4949
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
the latter is not required for ftpd to compile.
|
|
|
|
|
|
| |
for the vector of arguments.
MFC after: 1 week
|
|
|
|
|
|
| |
in the banner messages (of course, defaults to "%+").
Submitted by: Gleb Smirnoff <glebius@tak.estra.ru>
|
|
|
|
|
|
| |
as the current time. It's nice to know whether the talk request you
see was sent just a few minutes ago (assuming you didn't hear the
bell), or if it's been decaying for days (weeks?).
|
|
|
|
|
|
|
|
|
|
|
|
| |
ng_bpf.8 --> ng_bpf.4
ng_ether.8 --> ng_ether.4
ng_iface.8 --> ng_iface.4
ng_pppoe.8 --> ng_pppoe.4
ng_socket.8 --> ng_socket.4
ng_tty.8 --> ng_tty.4
ng_{type}.4 --> /dev/null
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
particularly help programs which load many shared libraries with
a lot of relocations. Large C++ programs such as are found in KDE
are a prime example.
While relocating a shared object, maintain a vector of symbols
which have already been looked up, directly indexed by symbol
number. Typically, symbols which are referenced by a relocation
entry are referenced by many of them. This is the same optimization
I made to the a.out dynamic linker in 1995 (rtld.c revision 1.30).
Also, compare the first character of a sought-after symbol with its
symbol table entry before calling strcmp().
On a PII/400 these changes reduce the start-up time of a typical
KDE program from 833 msec (elapsed) to 370 msec.
MFC after: 5 days
|
|
|
|
|
|
|
|
| |
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.
This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
|