efun.3: evasprintf() wasn't brought in and easprintf() was missing docs.
authorSascha Wildner <saw@online.de>
Mon, 9 May 2011 19:01:24 +0000 (21:01 +0200)
committerSascha Wildner <saw@online.de>
Mon, 9 May 2011 19:01:24 +0000 (21:01 +0200)
Makefile_upgrade.inc
lib/libutil/Makefile
lib/libutil/efun.3

index 11e4684..5db9944 100644 (file)
@@ -1642,6 +1642,8 @@ TO_REMOVE+=/usr/include/gnuregex.h
 TO_REMOVE+=/usr/lib/libgnuregex.a
 TO_REMOVE+=/usr/lib/profile/libgnuregex.a
 TO_REMOVE+=/usr/share/info/regex.info.gz
+TO_REMOVE+=/usr/share/man/cat3/evasprintf.3.gz
+TO_REMOVE+=/usr/share/man/man3/evasprintf.3.gz
 
 .if ${MACHINE_ARCH} == "x86_64"
 TO_REMOVE+=/usr/sbin/sgsc
index 64f1792..5594aef 100644 (file)
@@ -30,7 +30,7 @@ MAN+= login.conf.5 auth.conf.5
 MLINKS+=auth.3 auth_getval.3
 MLINKS+=efun.3 ecalloc.3 efun.3 emalloc.3 efun.3 erealloc.3 efun.3 esetfun.3 \
        efun.3 estrdup.3 efun.3 estrlcat.3 efun.3 estrlcpy.3 \
-       efun.3 estrndup.3 efun.3 evasprintf.3
+       efun.3 estrndup.3 efun.3 easprintf.3
 MLINKS+=humanize_number.3 dehumanize_number.3
 MLINKS+=humanize_unsigned.3 format_bytes.3
 MLINKS+=login_cap.3 login_getclassbyname.3 login_cap.3 login_close.3 \
index dbfe2bf..89429d4 100644 (file)
@@ -39,7 +39,7 @@
 .Nm estrndup ,
 .Nm estrlcat ,
 .Nm estrlcpy ,
-.Nm evasprintf
+.Nm easprintf
 .Nd error-checked utility functions
 .Sh LIBRARY
 .Lb libutil
@@ -62,7 +62,7 @@
 .Ft size_t
 .Fn estrlcpy "char *dst" "const char *src" "size_t len"
 .Ft int
-.Fn evasprintf "char ** restrict str" "const char * restrict fmt" "..."
+.Fn easprintf "char ** restrict str" "const char * restrict fmt" "..."
 .Sh DESCRIPTION
 The
 .Fn ecalloc ,
@@ -73,7 +73,7 @@ The
 .Fn estrlcat ,
 .Fn estrlcpy ,
 and
-.Fn evasprintf
+.Fn easprintf
 functions
 operate exactly as the corresponding functions that do not start with an
 .Sq e
@@ -105,8 +105,8 @@ error handler will just call
 .Xr strdup 3 ,
 .Xr strlcat 3 ,
 .Xr strlcpy 3 ,
-.Xr strndup 3 ,
-.Xr vasprintf 3
+.Xr strndup 3
+.\".Xr vasprintf 3
 .Sh HISTORY
 The error functions first appeared in
 .Dx 2.11 .