Age | Commit message (Collapse) | Author |
|
export of the protocol. you shall not add non-protocol stuff to such
a file, period.
|
|
- move TIMEOUT* defines to arpa/tftp.h, as they are used several times
in tftpd and tftp, and the values are part of the RFC definition.
- tftpd and tftp did count the total retransmission time in retries
instead in seconds. fixed.
- tftpd rexmt timeout was hardcoded by a define and therefore didn't
changed when the timeout option was sent. fixed.
- limit total retransmission timeout in tftp to also 255 seconds.
- replace obvious atoi()'s by strtonum().
ok claudio@
|
|
Note:
While testing the new option, we noticed that our stable tftpd has
a problem if any option is set (e.g. tsize) and you try to put a file.
This has nothing todo with our new blksize option. We fix this as
next.
ok claudio@
|
|
By Steven G. Kargl <kargl at troutmask dot apl dot washington.edu>
From FreeBSD
|
|
|
|
|
|
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code
that implements this will be made faster in a later commit.
- We loose documented behaviour (after closedir() the telldir()
positions are not valid anymore). This was never in Posix, and most
other systems have nothing like it.
Diff originally from Paul Thorn, rewritten by me using some FreeBSD
code. "slap it in" deraadt@
|
|
|
|
updated but the function itself never was; ok millert
|
|
|
|
|
|
As discussed with espie@, ok millert@
|
|
tell user to get it through stdint.h (note old sys/types.h still works,
for now).
okay millert@, jmc@
|
|
|
|
|
|
is reentrant in its current implementation anyway.
Surfing on the recent major version bump, ok millert@ deraadt@
|
|
|
|
|
|
1997 (yes, really).
|
|
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable
|
|
Use correct values for _POSIX_TTY_NAME_MAX and _POSIX_LOGIN_NAME_MAX
Define MAXLOGNAME in terms of LOGIN_NAME_MAX
OK krw@
|
|
|
|
separate errno.h. sys/errno.h now only contains errno values (which
is included byerrno.h). OK deraadt@
|
|
|
|
OK deraadt@
|
|
|
|
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace
pollution issues, including the byte order defines. OK deraadt@
|
|
|
|
userland-visible sys/select.h. Consistent with what Net and Free do.
OK deraadt@, tested with full ports build by naddy@.
|
|
should take intptr_t, not int, but we don't presently have intptr_t
available from unistd.h. OK marco@
|
|
jason@. Man page fixes by jmc@, prodding by jsg@. ok mickey@
|
|
(not really useful for now, it mostly helps some programs which want
to use it, it will become useful when we have full 16 bits locale).
|
|
|
|
From Solar Designer based on changes in FreeBSD. OK deraadt@
|
|
Make sure tolower/toupper use the whole 8 bits.
okay deraadt@
thanks to everyone who tested
|
|
ok henning@
|
|
uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans
crank minor.
okay millert@, jmc@.
|
|
|
|
|
|
|
|
reviewed by millert, otto, kevlo, naddy, kettenis...
libc+libstdc++ bump
|
|
|
|
unsigned but there is no ABI change. OK deraadt@
|
|
|
|
explicit about mktemp(3) in the man page.
|
|
so do not redefine it.
Found out by the quite picky fixinc in recent gcc.
okay millert@, kettenis@
|
|
* introduce the mbstate_t typedef.
impacts gnu libiconv, which has already been taken care of.
* Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with
an external variable __mb_cur_max (impacts libX11 and various ports).
* use mbstate in all the mb <-> wchar functions with state.
* add a stub iswctype function allowing some ports to compile.
bash and gdiff are missing wcscoll, and need to be told there's no i18n
until this is fixed.
Discussed and matthieu, otto, millert, kettenis, deraadt.
Major libc bump
|
|
is feasible.
Okay millert@
There's a major libc bump coming that is going to cover this as well...
|
|
extended attribute data structure (pimpl idiom). Idea taken from citrus.
Much discussion with deraadt@, otto@, millert@...
This is the least disruptive way to extend FILE, since its size can't really
change without this being a flag day. So the size doesn't change.
Actual additions to the structure will come in separate steps, since this
change is nasty enough on its own.
Tests by otto@ and others, careful reading of code by otto@ and millert@.
This is definitely a major bump, and has been checked to not impact a
full ports build.
|
|
for the default locale.
comments, tests, okay: kettenis@, otto@, jmc@
functions addition -> Minor bump.
There's a large bump coming in a separate commit.
|