|
e7f39760
|
2012-03-23T10:31:42
|
|
Add email address to my name
|
|
e37293a1
|
2012-01-12T18:16:55
|
|
Add <bitstring.h> for compatibility with NetBSD and OpenBSD
|
|
4eab0cc3
|
2012-01-03T05:29:36
|
|
Add inline endian encoding/decoding functions
Taken from FreeBSD.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
|
|
866f73af
|
2012-01-03T05:39:22
|
|
Move overlay inclusions outside of header protection
Glibc tends to include standard headers with special definitions
that make few declarations or macros visible, this stomps over the
overlay #include_next <> logic.
Based-on-patch-by: Robert Millan <rmh@debian.org>
|
|
f71d8e05
|
2012-03-21T04:10:37
|
|
Remove bogus deprecation warning from <getopt.h>
|
|
0b96e1a2
|
2012-01-03T07:32:53
|
|
Remove deprecated compatibility includes in headers
|
|
109cafb3
|
2012-01-03T07:32:37
|
|
Remove deprecated headers
|
|
64348583
|
2011-12-31T04:30:48
|
|
Add new expand_number() function
Taken from FreeBSD.
[guillem@hadrons.org:
- Include <stdint.h> in <bsd/libutil.h>. ]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
|
|
943939d0
|
2011-12-31T08:39:44
|
|
Add new closefrom() function
Code taken from sudo, man page from FreeBSD.
|
|
dcaa93d9
|
2010-12-17T11:13:04
|
|
build: Switch to autotools
|
|
059f89ca
|
2011-07-05T20:59:04
|
|
Add missing semicolon to bsd_getopt() declaration
Accidentally lost in commit 4a6303ba3b64504ab0077b9cfebd2a4b918d531d.
|
|
4a6303ba
|
2011-06-08T02:10:38
|
|
Constify bsd_getopt(3) arguments
This matches the standard declaration for getopt(3).
|
|
b891772a
|
2011-05-29T02:49:14
|
|
Remove blank lines at EOF
|
|
b0eb1997
|
2011-05-28T11:40:36
|
|
Move bsd_getopt() from <bsd/getopt.h> to <bsd/unistd.h>
Deprecate <bsd/getopt.h>.
|
|
0bf3d391
|
2011-05-28T10:39:54
|
|
Include the correct deprecated headeres when using the overlay
|
|
913cdd91
|
2011-05-28T06:35:18
|
|
Do not use the same header inclusion protector for <nlist.h> and <bsd/nlist.h>
Regression introduced in commit f7caf2b30da93d46528ec706dffaf5cbde5266d9.
|
|
200eeb12
|
2011-05-27T21:58:20
|
|
Add LIBBSD_DISABLE_DEPRECATED to deprecated headers
When enabled this will make the inclusion of deprecated headers a
fatal error so that it's easier to spot.
|
|
fbd62297
|
2011-05-27T22:11:28
|
|
Condense and clarify header deprecation warnings
Mention the possibility of using libbsd-overlay.pc.
|
|
755d86be
|
2011-05-27T21:39:14
|
|
Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
|
|
cd4996ce
|
2011-05-27T21:23:18
|
|
Namespace header protector in <bsd/sys/cdefs.h> with LIBBSD_SYS_
|
|
a7dd4457
|
2011-05-27T21:13:18
|
|
Add new <bsd/sys/poll.h> header
|
|
8be40010
|
2011-05-27T20:37:10
|
|
Add new <bsd/sys/endian.h> header
|
|
e1f2a6f8
|
2011-05-25T21:27:58
|
|
Add new __packed, __aligned and __nonnull attributes
|
|
87dd203c
|
2011-05-25T21:27:12
|
|
Define __dead2 and __pure2 to actual gcc attributes if possible
|
|
de206287
|
2011-05-25T21:25:54
|
|
Define <sys/cdefs.h> attributes conditional to the supported gcc version
|
|
71e5db4c
|
2011-05-25T21:02:40
|
|
Define _SYS_CDEFS_H and _SYS_CDEFS_H after including <sys/cdefs.h>
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.
|
|
9d042171
|
2011-05-25T07:38:36
|
|
Map getopt to bsd_getopt if we are using the overlay
This will ensure the code can safely and correctly use optreset
transparently.
|
|
17a9a847
|
2011-05-25T07:36:19
|
|
Rename transparent support to overlay
This affects the pkg-config file now named libbsd-overlay.pc, and the
macro to use the overlay LIBBSD_OVERLAY.
|
|
28585a58
|
2011-05-14T17:58:08
|
|
Add fpurge function
|
|
b36c59c0
|
2011-02-23T12:39:58
|
|
Conditionalize <time.h> inclusion from <bsd/bsd.h>
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.
|
|
8b6a7477
|
2011-02-23T12:38:42
|
|
Conditionalize temporary compatibility inclusions
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.
|
|
f7caf2b3
|
2011-02-23T11:07:30
|
|
Move all header files to /usr/include/bsd/ and deprecate /usr/include/
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.
|
|
520682e5
|
2011-02-23T14:04:57
|
|
Add support for transparent compilation
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.
|
|
741eb587
|
2011-02-22T20:44:21
|
|
Add missing prototypes for arc4random_buf and arc4random_uniform
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
|
|
9baf9640
|
2011-02-22T20:19:37
|
|
Add new <bsd/sys/bitstring.h> header
Taken from FreeBSD.
|
|
4b95e82a
|
2011-02-25T18:48:10
|
|
Add new radixsort and sradixsort functions
Taken from FreeBSD.
|
|
be6ab549
|
2011-02-25T18:17:16
|
|
Add new mergesort function
Taken from FreeBSD.
|
|
5b19adfa
|
2010-12-17T10:50:56
|
|
Add getpeereid function
|
|
acb7c42d
|
2010-07-30T08:00:41
|
|
Add reallocf function
|
|
30c79408
|
2010-01-21T14:34:55
|
|
Make setprogname and getprogname arguments and return value const
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>
|
|
3fed78e5
|
2010-01-10T00:37:03
|
|
Replace setproctitle dummy macro with a function stub
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.
|
|
2a81893c
|
2010-01-10T00:10:21
|
|
Add pidfile functions
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.
|
|
98a2479f
|
2010-01-09T23:49:32
|
|
Add flopen function
Taken from FreeBSD.
|
|
7a70f1b0
|
2009-12-11T23:24:31
|
|
Move fmtcheck and fgetln declarations to <bsd/stdio.h>
This is were they are located on the BSDs.
|
|
ca28f280
|
2009-12-11T23:21:14
|
|
Move setmode and getmode declarations to <bsd/unistd.h>
This is were they are located on the BSDs.
|
|
dd2756e0
|
2009-12-11T23:13:42
|
|
Mark inclusion of <time.h> from <bsd/bsd.h> deprecated
This will be removed at some point in the future.
|
|
3c9182b8
|
2009-12-11T23:12:26
|
|
Move arc4random declarations to <bsd/stdlib.h>
This is were they are located on the BSDs.
|
|
4d17a18d
|
2009-12-11T23:06:27
|
|
Deprecate <bsd/inet.h>
The only function declared in that header file was inet_net_pton, which
is already provided by glibc. Will be removed on the next SONAME bump.
|
|
7da57b29
|
2009-12-11T23:01:02
|
|
Remove traces of fgetwln, it was never included
This function was exposed in the header file and the versioning symbol
file, but the actual code was never here.
|
|
a5dbef45
|
2009-12-10T21:02:30
|
|
Make RCS macros take arguments
This was breaking code actually using those macros.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
27842d7f
|
2009-12-10T21:00:45
|
|
Track bug IDs for __unused collision
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
c5398adf
|
2009-10-24T00:19:47
|
|
Add readpassphrase function
Taken from OpenBSD.
|
|
538bc879
|
2009-10-24T00:17:57
|
|
Add dehumanize_number function
Taken from NetBSD.
|
|
04250f6a
|
2009-10-24T00:15:57
|
|
Add strnvis and strnunvis functions
Taken from OpenBSD.
|
|
5c078ce2
|
2009-10-23T23:31:07
|
|
Move <bsd/ip_icmp.h> to <bsd/netinet/ip_icmp.h>
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/ip_icmp.h> that warns and includes
<bsd/netinet/ip_icmp.h>.
|
|
614eb040
|
2009-10-12T01:43:02
|
|
Add new <bsd/sys/tree.h> header
|
|
b6e84690
|
2009-10-12T01:47:54
|
|
Move <bsd/queue.h> to <bsd/sys/queue.h>
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/queue.h> that warns and includes
<bsd/sys/queue.h>.
|
|
d3e14ea9
|
2009-10-23T23:04:42
|
|
Move <bsd/cdefs.h> to <bsd/sys/cdefs.h>
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/cdefs.h> that warns and includes
<bsd/sys/cdefs.h>.
|
|
e51be45c
|
2009-10-12T01:43:52
|
|
Update <sys/queue.h>
Taken from FreeBSD.
|
|
56ddcfe6
|
2009-10-11T21:07:53
|
|
Add strtonum function
Taken from FreeBSD.
|
|
33ef70b9
|
2009-07-17T13:35:37
|
|
Add __pure2 dummy macro
|
|
8ef0ecdf
|
2009-07-17T13:34:30
|
|
Add more dummy id macros
|
|
cb1346e5
|
2009-05-25T09:25:13
|
|
Export public functions as extern C
|
|
61fa98ea
|
2009-05-25T09:12:45
|
|
Add missing <stdarg.h> include in <bsd/err.h>
|
|
931e0434
|
2009-05-25T08:56:34
|
|
Add new __RCSID macro
Define it to nothing, so that source imported from BSDs can be easily
compiled w/o needing to modify them.
|
|
80c3954e
|
2009-05-25T06:23:01
|
|
Use the correct path when including a.out.h
Reported-by: Aurélien Jarno <aurelien@aurel32.net>
|
|
1f0b016e
|
2009-05-20T04:20:21
|
|
Use UTF-8 copyright symbols for non-imported files
|
|
dcaec44a
|
2009-05-20T04:11:57
|
|
Add nlist function
|
|
8dbfb352
|
2009-05-15T21:40:45
|
|
Add strmode function
|
|
4c9c8ed7
|
2008-07-26T22:35:31
|
|
Add a new header file to expose inet_net_pton prototype
|
|
38829bdc
|
2008-07-09T09:07:03
|
|
Add new setmode and getmode functions from FreeBSD
|
|
a5f7d1a8
|
2008-07-09T09:04:51
|
|
Include the rest of the header files
|
|
8b95dc58
|
2008-07-09T09:04:27
|
|
Disable __bounded__ __attribute__
|
|
1512d0d4
|
2008-07-09T07:22:30
|
|
Renumber 4th clause from BSD license to 3rd
Those files have only three clauses.
|
|
b0f64624
|
2008-07-09T07:16:20
|
|
Add missing license headers
With permission from Robert Millan and Aurelien Jarno.
|
|
a5709cbc
|
2008-06-18T08:47:58
|
|
Add license header
|
|
bf4eeb29
|
2008-06-18T08:44:18
|
|
Add arc4random_stir and arc4random_addrandom functions
|
|
b37f1039
|
2008-06-18T08:19:41
|
|
Replace current md5 code with one from MirBSD and OpenBSD
This adds the following public functions:
MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
|
|
20bf55ff
|
2008-06-18T08:09:51
|
|
Include missing stddef.h
|
|
d033e580
|
2008-06-18T07:59:43
|
|
Remove cruft macros and includes
|
|
c14d23b5
|
2008-06-18T07:49:44
|
|
Add license header
|
|
c5793d47
|
2007-12-18T14:20:20
|
|
bsd/queue.h: Sync with current glibc variant from GNU/kFreeBSD
|
|
f5b83170
|
2008-03-16T14:30:51
|
|
Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
|
|
30176335
|
2006-08-25T13:39:32
|
|
humanize_number: New function
|
|
ac32eefe
|
2007-01-09T13:26:33
|
|
bsd/bsd.h: Cleanup
|
|
3462d126
|
2006-03-29T13:55:22
|
|
Add heapsort
|
|
40bb012f
|
2006-03-19T10:25:49
|
|
Add vis and unvis
|
|
5bd83402
|
2006-03-17T19:55:21
|
|
Add getprogname and setprogname
|
|
1e8b819b
|
2006-02-15T20:41:06
|
|
Disable __unused
It conflicts with a struct member in a Linux header.
|
|
67e48af0
|
2006-02-14T07:01:21
|
|
Remove unused includes and protect header
|
|
c9e733b2
|
2006-02-14T06:45:41
|
|
Remove commented out macros
|
|
81504734
|
2006-02-14T06:43:04
|
|
Move some macros to cdefs.h
|
|
7aed0593
|
2006-02-13T20:56:47
|
|
Add bsd_getopt
|
|
7a8c1c86
|
2006-02-13T20:45:13
|
|
Use the same macro (_SYS_QUEUE_H) as <sys/queue.h> for header protection
This prevents collisions.
|
|
19cc9540
|
2006-02-11T07:06:17
|
|
bsd/queue.h: Replace with patched copy of glibc's <sys/queue.h>
This doesn't affect freebsd6-buildutils.
|
|
e8d3b08c
|
2006-02-10T15:22:58
|
|
Add __unused
|
|
33eb3ecc
|
2006-02-10T14:59:03
|
|
Add errc, warnc, verrc and vwarnc
|
|
dedb8169
|
2005-12-20T20:29:47
|
|
Added manpages and fixed fmtcheck
|
|
91473e27
|
2005-12-18T04:02:56
|
|
fmtcheck: New function
|
|
657f1b59
|
2005-10-31T22:57:10
|
|
Reorganize header files
|