libbsd: Branch 'master' - 6 commits

Guillem Jover guillem at kemper.freedesktop.org
Sun May 24 22:16:28 PDT 2009


 Makefile                   |    7 ++++++-
 include/nlist.h            |    2 +-
 man/.gitignore             |    1 +
 man/arc4random_addrandom.3 |    1 +
 man/arc4random_stir.3      |    1 +
 man/getmode.3              |    1 +
 man/strlcat.3              |    1 +
 src/nlist.c                |    2 +-
 8 files changed, 13 insertions(+), 3 deletions(-)

New commits:
commit f984a7006bd8b456d4ea8aebc717e4e758676d7c
Author: Guillem Jover <guillem at hadrons.org>
Date:   Mon May 25 06:57:50 2009 +0200

    Release libbsd 0.1.2

diff --git a/Makefile b/Makefile
index 8f9f0ae..42401b2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 LIB_NAME := libbsd
 LIB_VERSION_MAJOR := 0
 LIB_VERSION_MINOR := 1
-LIB_VERSION_MICRO := 1
+LIB_VERSION_MICRO := 2
 LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR).$(LIB_VERSION_MICRO)
 
 LIB_PKGCONFIG := $(LIB_NAME).pc
commit 326a3a76193161f096990a073d97d288f73f3408
Author: Guillem Jover <guillem at hadrons.org>
Date:   Mon May 25 06:57:03 2009 +0200

    Install humanize_number(3) man page

diff --git a/Makefile b/Makefile
index 7ec21f1..8f9f0ae 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,7 @@ LIB_MANS := \
 	strlcpy.3 \
 	strlcat.3 \
 	fgetln.3 \
+	humanize_number.3 \
 	fmtcheck.3 \
 	nlist.3 \
 	setmode.3 \
commit e4aff3d9fc9e22287cfeab040e4b968d53a9255e
Author: Guillem Jover <guillem at hadrons.org>
Date:   Mon May 25 06:41:42 2009 +0200

    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.

diff --git a/src/nlist.c b/src/nlist.c
index 1db6a06..e1815c6 100644
--- a/src/nlist.c
+++ b/src/nlist.c
@@ -155,7 +155,7 @@ __aout_fdnlist(fd, list)
 	}
 
 	symoff = N_SYMOFF(*exec);
-	symsize = exec->a_syms;
+	symsize = N_SYMSIZE(*exec);
 	stroff = symoff + symsize;
 
 	/* find the string table in our mmapped area */
commit c3feeb0092ace00f95aa981fc907ab654afaa5f7
Author: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
Date:   Fri May 22 20:44:35 2009 -0300

    Add some man page links
    
    Add man page links for strlcat, getmode and arc4random_*.
    
    Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>

diff --git a/Makefile b/Makefile
index 8d5bf70..7ec21f1 100644
--- a/Makefile
+++ b/Makefile
@@ -60,11 +60,15 @@ LIB_INCLUDES := \
 
 LIB_MANS := \
 	arc4random.3 \
+	arc4random_addrandom.3 \
+	arc4random_stir.3 \
 	strlcpy.3 \
+	strlcat.3 \
 	fgetln.3 \
 	fmtcheck.3 \
 	nlist.3 \
 	setmode.3 \
+	getmode.3 \
 	strmode.3 \
 	md5.3bsd
 LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
diff --git a/man/arc4random_addrandom.3 b/man/arc4random_addrandom.3
new file mode 100644
index 0000000..74a34ce
--- /dev/null
+++ b/man/arc4random_addrandom.3
@@ -0,0 +1 @@
+.so man3/arc4random.3
diff --git a/man/arc4random_stir.3 b/man/arc4random_stir.3
new file mode 100644
index 0000000..74a34ce
--- /dev/null
+++ b/man/arc4random_stir.3
@@ -0,0 +1 @@
+.so man3/arc4random.3
diff --git a/man/getmode.3 b/man/getmode.3
new file mode 100644
index 0000000..63315e7
--- /dev/null
+++ b/man/getmode.3
@@ -0,0 +1 @@
+.so man3/setmode.3
diff --git a/man/strlcat.3 b/man/strlcat.3
new file mode 100644
index 0000000..d968886
--- /dev/null
+++ b/man/strlcat.3
@@ -0,0 +1 @@
+.so man3/strlcpy.3
commit 80c3954e3cf66efa907b8a8862632f56eeea9543
Author: Guillem Jover <guillem at hadrons.org>
Date:   Mon May 25 06:23:01 2009 +0200

    Use the correct path when including a.out.h
    
    Reported-by: Aurélien Jarno <aurelien at aurel32.net>

diff --git a/include/nlist.h b/include/nlist.h
index 0f2fa20..84fbc33 100644
--- a/include/nlist.h
+++ b/include/nlist.h
@@ -28,7 +28,7 @@
 #define LIBBSD_NLIST_H
 
 #include <sys/cdefs.h>
-#include <sys/a.out.h>
+#include <a.out.h>
 
 __BEGIN_DECLS
 extern int nlist(const char *filename, struct nlist *list);
commit 4c3e03efebe725b22fe52a981235314ae6ee4218
Author: Guillem Jover <guillem at hadrons.org>
Date:   Mon May 25 06:22:22 2009 +0200

    Add man/md5.3bsd to .gitignore

diff --git a/man/.gitignore b/man/.gitignore
index e634373..ed4f453 100644
--- a/man/.gitignore
+++ b/man/.gitignore
@@ -1 +1,2 @@
 md5.3
+md5.3bsd


More information about the libbsd mailing list