summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-07-26TIMEOUT* values are not part of the protocol. tftp.h is a namespaceTheo de Raadt
export of the protocol. you shall not add non-protocol stuff to such a file, period.
2006-07-26Fixing several timeout quirks at tftpd and tftp:Marcus Glocker
- 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@
2006-07-20Add blksize option support for tftpd according to RFC 2348.Marcus Glocker
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@
2006-07-12add some more C99 functions: round(3) and roundf(3).Brad Smith
By Steven G. Kargl <kargl at troutmask dot apl dot washington.edu> From FreeBSD
2006-07-12add missing prototypes for trunc/truncf.Brad Smith
2006-05-05delint; ok millert@ beck@Otto Moerbeek
2006-04-01- Plug huge mem leak; mostly samba was suffering.Otto Moerbeek
- 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@
2006-03-31kvm_openfiles() should take int flag, not unsignedTheo de Raadt
2006-03-31after we changed mode_t to be an int, the devname() man page wasTheo de Raadt
updated but the function itself never was; ok millert
2006-03-23kill evil \r; from cedricMichael Shalayeff
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-31Annotate _assert()/__assert2() as __dead.Hans-Joerg Hoexer
As discussed with espie@, ok millert@
2006-01-16use standard type uint32_t, instead of BSD-specific u_int32_tMarc Espie
tell user to get it through stdint.h (note old sys/types.h still works, for now). okay millert@, jmc@
2006-01-15Add comments to show which printf/scanf formats match which typesTodd C. Miller
2006-01-15Update {PRN,SCN}*PTR defines to match types changesTodd C. Miller
2006-01-13Remove neither documented nor found in any spec ctermid_r() function - ctermid()Miod Vallat
is reentrant in its current implementation anyway. Surfing on the recent major version bump, ok millert@ deraadt@
2006-01-13Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax()Todd C. Miller
2006-01-13Include the function name in assert() output. From espie@Todd C. Miller
2006-01-06Add real C99 stdint.h and inttypes.h based on an initial version I did inTodd C. Miller
1997 (yes, really).
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2005-12-31Move TTY_NAME_MAX and LOGIN_NAME_MAX to sys/syslimits.hTodd C. Miller
Use correct values for _POSIX_TTY_NAME_MAX and _POSIX_LOGIN_NAME_MAX Define MAXLOGNAME in terms of LOGIN_NAME_MAX OK krw@
2005-12-29zap unused ohash_lookup_string declaration; ok espieJared Yanovich
2005-12-28Split off the non-kernel visible portion of sys/errno.h into aTodd C. Miller
separate errno.h. sys/errno.h now only contains errno values (which is included byerrno.h). OK deraadt@
2005-12-21Do not declare errno as extern int, set it via __errno().Todd C. Miller
2005-12-20Get rid of non-OpenBSD bits and use _BYTE_ORDER not BYTE_ORDERTodd C. Miller
OK deraadt@
2005-12-19This piece was missed in the _FOO_SOURCE -> __FOO_VISIBLE change set.Todd C. Miller
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-11-24undelete died a while back; millert okTheo de Raadt
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-11-20brk() and sbrk() should use void *, not char *. Note that sbrk()Todd C. Miller
should take intptr_t, not int, but we don't presently have intptr_t available from unistd.h. OK marco@
2005-11-17Introduce a few c99 functions: {l,ll}{rint,round}{,f}. From NetBSD viaOtto Moerbeek
jason@. Man page fixes by jmc@, prodding by jsg@. ok mickey@
2005-11-16CODESET support. okay millert@, otto@Marc Espie
(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).
2005-09-27use xargs -r0 for our build processTheo de Raadt
2005-08-09Add VIS_GLOB to escape special characters used by shell-style globbing.Todd C. Miller
From Solar Designer based on changes in FreeBSD. OK deraadt@
2005-08-08activate LC_CTYPE for 8 bits locale.Marc Espie
Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested
2005-07-10Install netbt/ includes.Alexander Yurchenko
ok henning@
2005-07-01Add a few missing functions so that wctype.h/wchar.h are more or lessMarc Espie
uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans crank minor. okay millert@, jmc@.
2005-06-20zap duplicate prototypeMarc Espie
2005-06-18Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@Todd C. Miller
2005-06-17don't install netns includes any longer, ports bulk build test by pvalHenning Brauer
2005-06-17next citrus step.Marc Espie
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
2005-06-17bye bye whiteoutsTodd C. Miller
2005-06-08Make gethostbyaddr() prototype match POSIX. This means len is nowTodd C. Miller
unsigned but there is no ABI change. OK deraadt@
2005-06-07-netccitt/Henning Brauer
2005-05-27mktemp(3) et al. go in stdlib.h, not unistd.h. While there be moreTodd C. Miller
explicit about mktemp(3) in the man page.
2005-05-18wchar_t is a native C++ type, gcc picks its definition from elsewhere,Marc Espie
so do not redefine it. Found out by the quite picky fixinc in recent gcc. okay millert@, kettenis@
2005-05-11major abi changes:Marc Espie
* 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
2005-05-11let vfscanf be a real function. Use a weak_alias on systems where thisMarc Espie
is feasible. Okay millert@ There's a major libc bump coming that is going to cover this as well...
2005-04-30Change internals of FILE: reuse the unget buffer field to access anMarc Espie
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.
2005-04-30isw* classification functions from citrus, with a `stub' implementationMarc Espie
for the default locale. comments, tests, okay: kettenis@, otto@, jmc@ functions addition -> Minor bump. There's a large bump coming in a separate commit.