Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-28 | Namespace header protector in <bsd/sys/cdefs.h> with LIBBSD_SYS_ | Guillem Jover | 1 | -2/+2 | |
2011-05-28 | Add new <bsd/sys/poll.h> header | Guillem Jover | 2 | -0/+41 | |
2011-05-28 | Add new <bsd/sys/endian.h> header | Guillem Jover | 2 | -0/+53 | |
2011-05-28 | Add new __packed, __aligned and __nonnull attributes | Guillem Jover | 1 | -0/+24 | |
2011-05-28 | Define __dead2 and __pure2 to actual gcc attributes if possible | Guillem Jover | 1 | -2/+10 | |
2011-05-28 | Define <sys/cdefs.h> attributes conditional to the supported gcc version | Guillem Jover | 1 | -2/+8 | |
2011-05-28 | Define _SYS_CDEFS_H and _SYS_CDEFS_H after including <sys/cdefs.h> | Guillem Jover | 1 | -0/+10 | |
This makes sure the “standard” inclusion protectors are in place, as at least some FreeBSD kernel headers expect these to be defined to do some sanity checks. | |||||
2011-05-28 | Map getopt to bsd_getopt if we are using the overlay | Guillem Jover | 2 | -1/+10 | |
This will ensure the code can safely and correctly use optreset transparently. | |||||
2011-05-27 | Rename transparent support to overlay | Guillem Jover | 9 | -20/+20 | |
This affects the pkg-config file now named libbsd-overlay.pc, and the macro to use the overlay LIBBSD_OVERLAY. | |||||
2011-05-16 | Abort compilation if fgetln cannot be wrapped | Guillem Jover | 1 | -1/+3 | |
2011-05-16 | Add fpurge function | Guillem Jover | 4 | -1/+74 | |
2011-05-14 | Conditionalize <time.h> inclusion from <bsd/bsd.h> | Guillem Jover | 1 | -0/+2 | |
This was added long time ago to fix some software which was implicitly depending on the header through some other header, and to avoid having to modify such software. Conditionalize it on LIBBSD_CLEAN_INCLUDES, so that buildability can be tested for its future removal. | |||||
2011-05-14 | Conditionalize temporary compatibility inclusions | Guillem Jover | 4 | -1/+8 | |
These inclusions were in place for backward compatibility purposes, when the headers were split so that code using them would not break. Make it possible for applications to disable them by defining LIBBSD_CLEAN_INCLUDES so that buildability can be tested and fixed before they get removed in a subsequent release. | |||||
2011-05-14 | Correct library name in man pages | Guillem Jover | 2 | -2/+4 | |
2011-05-14 | Update libbsd header references in man pages | Guillem Jover | 20 | -20/+19 | |
Point to the namespaced path for libbsd specific headers. | |||||
2011-05-14 | Move all header files to /usr/include/bsd/ and deprecate /usr/include/ | Guillem Jover | 7 | -139/+244 | |
First stage of the transition to avoid possible clashes with other software by moving out of the way the remaining headers from /usr/include/. At least nlist.h is known to cause file conflicts with some libelf implementations. libutil.h is not really complete and might cause confusion if software detects its availability w/o someone actually checking. And lastly vis.h is not known to cause any problem and it's complete, but better be safe than sorry. The compatibility headers will be removed in a later release. | |||||
2011-05-14 | Add support for transparent compilation | Guillem Jover | 14 | -9/+62 | |
This means that software being ported should not need to be modified in the usual case, as the libbsd headers will take over the standard namespace and fill the missing gaps, and include the system headers. To use this the new libbsd-transparent.pc file can be used through pkg-config, which should end up doing the right thing. | |||||
2011-05-14 | Move each version symbol declaration into its own line | Guillem Jover | 1 | -5/+19 | |
2011-05-14 | Generalize pkg-config file handling | Guillem Jover | 2 | -2/+2 | |
Use a make pattern for the .pc rule to allow using more than one .pc file. And generalize the .gitignore entry. | |||||
2011-05-14 | Initialize __progname to program_invocation_short_name | Guillem Jover | 1 | -1/+7 | |
As we do not have cooperation from the crt0 code to set __progname, we have to set it ourselves from getprogname() in case it's NULL. On GNU systems we can use program_invocation_short_name which is actually set on crt0. | |||||
2011-05-14 | Add missing prototypes for arc4random_buf and arc4random_uniform | Kevin McCarthy | 1 | -0/+2 | |
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511 | |||||
2011-05-14 | Add new <bsd/sys/bitstring.h> header | Guillem Jover | 2 | -0/+147 | |
Taken from FreeBSD. | |||||
2011-05-14 | Add new radixsort and sradixsort functions | Guillem Jover | 6 | -0/+497 | |
Taken from FreeBSD. | |||||
2011-05-14 | Add man pages for heapsort and mergesort | Guillem Jover | 3 | -0/+210 | |
Taken from FreeBSD, originally as qsort.3 but qsort references stripped. | |||||
2011-05-14 | Add new mergesort function | Guillem Jover | 4 | -1/+357 | |
Taken from FreeBSD. | |||||
2011-05-14 | Add getpeereid function | Guillem Jover | 5 | -0/+275 | |
2011-02-23 | Add reallocf function | Aurelien Jarno | 5 | -0/+163 | |
2010-01-31 | build: Use proper user variables during build | Guillem Jover | 1 | -4/+9 | |
To compile we need to use CPPFLAGS and CFLAGS, to link CFLAGS and LDFLAGS. Rename MK_CFLAGS to MK_CPPFLAGS as those are only relevant at compilation time. Reported-by: Eric Smith <eric@brouhaha.com> | |||||
2010-01-30 | build: Use new AR variable instead of hardcoded command | Guillem Jover | 1 | -1/+2 | |
2010-01-30 | build: Refactor COMPILER and LINK commands into new variables | Guillem Jover | 1 | -3/+6 | |
2010-01-30 | build: Use CCLD instead of hardcoded gcc for linking | Guillem Jover | 1 | -1/+3 | |
2010-01-30 | build: By default set CC to gcc | Guillem Jover | 1 | -0/+2 | |
2010-01-30 | build: Install shared library with 755 permission | Eric Smith | 1 | -1/+1 | |
The Makefile should install the shared library with 755 permission rather than 644. That's standard practice, and required when building RPMs on Fedora to get a debuginfo package. | |||||
2010-01-30 | Fix setprogname to strip leading paths from progname | Guillem Jover | 1 | -2/+10 | |
2010-01-21 | Make setprogname and getprogname arguments and return value const | Guillem Jover | 2 | -7/+8 | |
This is more correct as the strings are not going to be changed, and it matches the function signatures on other BSDs. Suggested-by: Aurelien Jarno <aurel32@debian.org> | |||||
2010-01-10 | Release libbsd 0.2.00.2.0 | Guillem Jover | 1 | -2/+2 | |
2010-01-10 | Reformat code to KNF | Guillem Jover | 4 | -34/+35 | |
2010-01-10 | Add vis and unvis man pages | Guillem Jover | 3 | -0/+521 | |
Taken from OpenBSD. | |||||
2010-01-10 | Add dehumanize_number man page link | Guillem Jover | 2 | -0/+2 | |
2010-01-10 | Update vis and unvis modules from OpenBSD | Guillem Jover | 2 | -16/+8 | |
2010-01-10 | Update strlcat and strlcpy from OpenBSD | Guillem Jover | 3 | -99/+48 | |
2010-01-10 | Add arc4random_buf and arc4random_uniform functions | Guillem Jover | 6 | -63/+167 | |
Update arc4random module from FreeBSD. | |||||
2010-01-10 | Replace setproctitle dummy macro with a function stub | Guillem Jover | 5 | -4/+38 | |
This way we can replace it later on with a real implementation so that applications can immediately benefit from it w/o the need to recompile them. | |||||
2010-01-10 | Add pidfile functions | Guillem Jover | 5 | -0/+528 | |
Taken from FreeBSD. Remove MAXPATHLEN from ‘struct pidfh’ and allocate pf_path dynamically, as some systems do not have such limits. Use dev_t instead of __dev_t. Replace EDOOFUS with EINVAL. | |||||
2010-01-10 | Add flopen function | Guillem Jover | 5 | -0/+213 | |
Taken from FreeBSD. | |||||
2010-01-10 | Move man pages to the same directory as the source code | Guillem Jover | 17 | -3/+3 | |
This matches BSD style source tree, and makes it easier to see what's missing. | |||||
2010-01-10 | build: Untangle the package version from the soversion | Guillem Jover | 2 | -2/+53 | |
Add a new script to generate the package version from git. Use that for the pkg-config file and the tarball name. | |||||
2010-01-10 | build: Make dist use files from git plus few autogenerated ones | Guillem Jover | 1 | -7/+3 | |
To avoid forgetting to include files, we'll use “git ls-files” and will include few precious autogenerated files that cannot be generated later on w/o git. This includes mainly the ChangeLog. | |||||
2010-01-09 | build: Do not duplicate generated filenames in several variables | Guillem Jover | 1 | -8/+11 | |
2009-12-12 | Move fmtcheck and fgetln declarations to <bsd/stdio.h> | Guillem Jover | 4 | -6/+46 | |
This is were they are located on the BSDs. |