Commit Graph

137 Commits

Author SHA1 Message Date
Guillem Jover
04250f6a7c Add strnvis and strnunvis functions
Taken from OpenBSD.
2009-10-24 01:47:26 +02:00
Guillem Jover
5c078ce2f5 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>.
2009-10-24 01:47:26 +02:00
Guillem Jover
614eb0402a Add new <bsd/sys/tree.h> header 2009-10-24 01:47:25 +02:00
Guillem Jover
b6e8469059 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>.
2009-10-24 01:47:25 +02:00
Guillem Jover
d3e14ea99e 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>.
2009-10-24 01:47:22 +02:00
Guillem Jover
e51be45c40 Update <sys/queue.h>
Taken from FreeBSD.
2009-10-24 01:11:23 +02:00
Guillem Jover
56ddcfe65a Add strtonum function
Taken from FreeBSD.
2009-10-24 01:11:23 +02:00
Guillem Jover
1bf8b96ac8 Do not append a slash after DESTDIR 2009-10-24 01:11:23 +02:00
Guillem Jover
16e6ac99fe Update git web interface URL
FreeDesktop.Org switched from gitweb to cgit.
2009-10-11 20:54:36 +02:00
Guillem Jover
56f2e55b7a Release libbsd 0.1.6 2009-08-30 12:18:28 +02:00
Hirokazu Takata
5ac14531b5 Fix typos in M32R local-elf.h endian definitions 2009-08-30 12:16:01 +02:00
Guillem Jover
2543c5a78b Release libbsd 0.1.5 2009-07-17 13:37:38 +02:00
Guillem Jover
33ef70b9e1 Add __pure2 dummy macro 2009-07-17 13:35:37 +02:00
Guillem Jover
8ef0ecdf44 Add more dummy id macros 2009-07-17 13:34:30 +02:00
Nobuhiro Iwamatsu
6660397589 Fix typos in AVR32 and SH local-elf.h endian definitions 2009-07-17 12:50:07 +02:00
Guillem Jover
391c75b427 Release libbsd 0.1.4 2009-05-29 02:48:00 +02:00
Guillem Jover
45783ae4ca Define N_SYMSIZE in case the system does not do it
Fixes build failures on some non-Linux ports.

Based-on-patch-by: Petr Salinger <Petr.Salinger@seznam.cz>
2009-05-29 02:45:54 +02:00
Guillem Jover
5902730a03 Create a relative symlink for .so if libdir and usrlibdir are the same 2009-05-29 02:28:49 +02:00
Guillem Jover
42601170ac Change @libdir@ in the pkg-config file to be $(usrlibdir)
The variable in the .pc file points to the directory where the .so
symlink is present, which is never going to be something like /lib,
but something like /usr/lib.
2009-05-25 10:02:26 +02:00
Guillem Jover
0bd48c4a4d Preserve the variables unexpanded in the pkg-config file 2009-05-25 09:57:14 +02:00
Guillem Jover
d03b2b07fc Release libbsd 0.1.3 2009-05-25 09:37:39 +02:00
Guillem Jover
cb1346e5b3 Export public functions as extern C 2009-05-25 09:25:13 +02:00
Guillem Jover
61fa98ea9e Add missing <stdarg.h> include in <bsd/err.h> 2009-05-25 09:12:45 +02:00
Guillem Jover
931e043430 Add new __RCSID macro
Define it to nothing, so that source imported from BSDs can be easily
compiled w/o needing to modify them.
2009-05-25 08:56:34 +02:00
Guillem Jover
f984a7006b Release libbsd 0.1.2 2009-05-25 06:57:50 +02:00
Guillem Jover
326a3a7619 Install humanize_number(3) man page 2009-05-25 06:57:03 +02:00
Guillem Jover
e4aff3d9fc Use N_SYMSIZE instead of directly accessing ‘struct exec’
On Linux alpha ‘struct exec’ does not have an a_syms member, and the
N_SYMSIZE is mapped to 0.
2009-05-25 06:41:42 +02:00
Gerardo Exequiel Pozzi
c3feeb0092 Add some man page links
Add man page links for strlcat, getmode and arc4random_*.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-05-25 06:32:45 +02:00
Guillem Jover
80c3954e3c Use the correct path when including a.out.h
Reported-by: Aurélien Jarno <aurelien@aurel32.net>
2009-05-25 06:23:01 +02:00
Guillem Jover
4c3e03efeb Add man/md5.3bsd to .gitignore 2009-05-25 06:22:22 +02:00
Guillem Jover
9b30dae909 Fix typos (‘ELFDATA2MSG’ → ‘ELFDATA2MSB’) 2009-05-21 05:04:09 +02:00
Guillem Jover
25dd60b9cc Release libbsd 0.1.1 2009-05-20 05:14:32 +02:00
Guillem Jover
5b16707e95 Install nlist header and man page 2009-05-20 05:13:31 +02:00
Guillem Jover
1f0b016e97 Use UTF-8 copyright symbols for non-imported files 2009-05-20 04:20:21 +02:00
Guillem Jover
dcaec44a6f Add nlist function 2009-05-20 04:14:19 +02:00
Guillem Jover
8dbfb3529b Add strmode function 2009-05-20 04:14:07 +02:00
Guillem Jover
74ae34e792 Fix buffer leaks in fgetln
Cache the size and the buffer allocated by getline as static variables.
2009-05-15 21:26:09 +02:00
Guillem Jover
deb9f56ceb Change fgetln to return the correct length value
Set len to 0 on error conditions to mimmic FreeBSD behaviour, and return
the amount of read characters on success, instead of the allocated size
by getline.

Reported-by: Jief L. <jief1.l@gmail.com>
2009-05-15 21:23:03 +02:00
Guillem Jover
aefc6f441a Do not include .gitignore in the dist tarball 2008-07-26 22:42:39 +03:00
Guillem Jover
f2d93325e6 Install md5.3 as md5.3bsd
This man page is pretty common in other source projects, so we use a
suffix to distinguish it.
2008-07-26 22:39:29 +03:00
Guillem Jover
5e1a782119 Add a TODO list 2008-07-26 22:36:14 +03:00
Guillem Jover
4c9c8ed74c Add a new header file to expose inet_net_pton prototype 2008-07-26 22:35:31 +03:00
Guillem Jover
6dc84320cc Add a micro version part 2008-07-26 22:25:22 +03:00
Guillem Jover
acc23243fb Unify description 2008-07-12 08:09:09 +03:00
Guillem Jover
9a2b946fce Move LIB_PKGCONFIG dependency to the libs target 2008-07-12 08:09:09 +03:00
Guillem Jover
ad52f2eb4c Use sigprocmask instead of _sigprocmask 2008-07-12 08:09:09 +03:00
Guillem Jover
2729ca824d Define default CFLAGS overridable by the environment 2008-07-12 08:09:09 +03:00
Guillem Jover
83210a83a4 Switch remaining variables to single expanded ones 2008-07-12 08:09:09 +03:00
Guillem Jover
69c94c50d9 Remove useless comment header 2008-07-12 08:09:09 +03:00
Guillem Jover
2d5c088a17 Move each groups of related files to their own line 2008-07-12 08:09:09 +03:00