Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Felix von Leitner f8f40a544a now that gcc 11's static analyzer looks at array bounds in arguments пре 3 месеци
array half-hearted improvements to Windows compilability пре 2 година
buffer add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf пре 7 месеци
byte add byte_start, byte_starts пре 9 месеци
case #include <foo.h> -> #include <libowfat/foo.h> пре 4 година
cdb forward changes made in prototypes to actual implementation пре 8 месеци
critbit #include <foo.h> -> #include <libowfat/foo.h> пре 4 година
dns use write in buffer_put for a slight perf improvement пре 3 година
examples include <foo> -> include "foo" пре 5 година
fmt you need to #include <stdlib.h> пре 8 месеци
io next attempt (I need a bsd shell) пре 3 месеци
mmap correct file open mode for mmap_private man page пре 8 месеци
mult move unit tests into each file (compile with -DUNITTEST) пре 4 година
open more cross references for open_* пре 8 месеци
scan add "make check" target and make it work :) пре 9 месеци
socket now that gcc 11's static analyzer looks at array bounds in arguments пре 3 месеци
str add unit test пре 3 година
stralloc #include <foo.h> -> #include <libowfat/foo.h> пре 4 година
tai #include <foo.h> -> #include <libowfat/foo.h> пре 4 година
taia #include <foo.h> -> #include <libowfat/foo.h> пре 4 година
test add libowfat/ to includes пре 2 година
textcode also escape negative chars (we are in utf-8 land now, no longer latin1) пре 3 месеци
uint #include <foo.h> -> #include <libowfat/foo.h> пре 4 година
unix use write in buffer_put for a slight perf improvement пре 3 година
.cvsignore fix deps пре 3 месеци
CAS.h remove a few compiler warnings пре 4 година
CHANGES add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf пре 7 месеци
COPYING Initial revision пре 21 година
GNUmakefile fix deps пре 3 месеци
Makefile fix deps пре 3 месеци
README mention my email address пре 19 година
TODO mention sendmsg issue пре 3 месеци
array.h add compiler.h to abstract gcc attributes пре 9 месеци
buffer.h add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf пре 7 месеци
byte.h add compiler.h to abstract gcc attributes пре 9 месеци
case.h add compiler.h to abstract gcc attributes пре 9 месеци
cdb.h add compiler.h to abstract gcc attributes пре 9 месеци
cdb_make.h add compiler.h to abstract gcc attributes пре 9 месеци
compiler.h add compiler.h to abstract gcc attributes пре 9 месеци
compiletimeassert.h add compiler.h to abstract gcc attributes пре 9 месеци
critbit.h add compiler.h to abstract gcc attributes пре 9 месеци
dns.h now that gcc 11's static analyzer looks at array bounds in arguments пре 3 месеци
ent.c fix two complaints by clang's static analyzer пре 1 година
entities.json $ make WERROR=-Werror now builds with -Werror пре 7 година
errmsg.h make headers work in C++ пре 10 година
errmsg_int.h add errmsg_int.h пре 16 година
fmt.h add fmt_strm_malloc пре 8 месеци
iarray.h add compiler.h to abstract gcc attributes пре 9 месеци
io.h some crude attempt to fix mingw cross build пре 3 месеци
io_internal.h some crude attempt to fix mingw cross build пре 3 месеци
iob.h add compiler.h to abstract gcc attributes пре 9 месеци
iob_internal.h use callback based infrastructure to reset iob's пре 14 година
iopause.h1 for installed header files, add comment saying where they came from пре 11 година
iopause.h2 for installed header files, add comment saying where they came from пре 11 година
ip4.h now that gcc 11's static analyzer looks at array bounds in arguments пре 3 месеци
ip6.h now that gcc 11's static analyzer looks at array bounds in arguments пре 3 месеци
isset.h remove a few compiler warnings пре 4 година
likely.h add iarray пре 13 година
mmap.h mmap_private opens the file for reading, not for writing пре 8 месеци
ndelay.h make headers work in C++ пре 10 година
open.h add compiler.h to abstract gcc attributes пре 9 месеци
openreadclose.h add compiler.h to abstract gcc attributes пре 9 месеци
parse.h add compiler.h to abstract gcc attributes пре 9 месеци
rangecheck.h add compiler.h to abstract gcc attributes пре 9 месеци
readclose.h get rid of more -Wconversion warnings пре 7 година
safemult.h add compiler.h to abstract gcc attributes пре 9 месеци
scan.h add compiler.h to abstract gcc attributes пре 9 месеци
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns пре 19 година
select.h2 more BSD compat пре 18 година
socket.h now that gcc 11's static analyzer looks at array bounds in arguments пре 3 месеци
str.h add compiler.h to abstract gcc attributes пре 9 месеци
stralloc.h add compiler.h to abstract gcc attributes пре 9 месеци
t.c less compiler warnings пре 3 месеци
tai.h add compiler.h to abstract gcc attributes пре 9 месеци
taia.h add compiler.h to abstract gcc attributes пре 9 месеци
textcode.h add compiler.h to abstract gcc attributes пре 9 месеци
tryaccept4.c OSX does not have accept4 :( пре 3 месеци
tryalloca.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trybsdsf.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trydevpoll.c broken lose32 port using mingw (don't use!!!) пре 18 година
tryepoll.c $ make WERROR=-Werror now builds with -Werror пре 7 година
tryinline.c work around compilers that don't understand "static inline" пре 20 година
tryip6.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trykqueue.c add epoll and kqueue tests пре 18 година
tryn2i.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns пре 19 година
trypread.c add pread test пре 5 година
tryscope.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trysendfile.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trysigio.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trysl.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trysocket.c $ make WERROR=-Werror now builds with -Werror пре 7 година
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns пре 19 година
tryuint128.c add tryuing128.c and ignore haveuint128.h пре 8 година
uint16.h add fmt and scan versions of uint* пре 1 година
uint32.h add fmt and scan versions of uint* пре 1 година
uint64.h add fmt and scan versions of uint* пре 1 година
va_narg.h for installed header files, add comment saying where they came from пре 11 година
windoze.h fix some bugs that cppcheck found пре 7 година

README

libowfat is a library of general purpose APIs extracted from Dan
Bernstein's software, reimplemented and covered by the GNU General
Public License Version 2 (no later versions).

The API has been slightly extended (for example, I provide a uint32_read
function, and I extended the socket API to support IPv6) where I found
it necessary or beneficial in a specific project.

Many of the functions I implement here have since been placed in the
public domain, so there are other sources to get this code (except for
my extensions obviously). The implementations here may not be as
portable as the original versions; I tend to focus on the Single Unix
Specification and not on some obsolete legacy systems found in the
basements of some vintage hardware clubs.

I also provide man pages for many functions, mostly extracted from Dan's
web documentation or documentation found in earlier versions of his
software. For some reason, he abandoned man pages in favor of HTML
recently.

On July 4 2002, Dan also placed his DNS routines and supporting
low level functions in the public domain, so I copy them here instead of
reimplementing them. http://online.securityfocus.com/archive/1/280642
has an online version of the bugtraq posting.

The author can be reached under felix-libowfat@fefe.de