Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2005 04:00:43 +0100
From:      "Andreas Kohn" <andreas@syndrom23.de>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   docs/89783: [PATCH] add MLINK for execvP to exec(3)
Message-ID:  <1133406043.0@xentros.syndrom23.de>
Resent-Message-ID: <200512010310.jB13A4xB013574@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89783
>Category:       docs
>Synopsis:       [PATCH] add MLINK for execvP to exec(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 01 03:10:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Kohn
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 7.0-CURRENT #6: Tue Nov 29 03:37:45 CET 2005
    root@xentros.syndrom23.de:/usr/obj/usr/src/sys/XENTROS



>Description:


execvP(3) is used in fsck for example. The manpage exec(3) describes
execvP, but man execvP returns an error due to the mlink missing.


>How-To-Repeat:


run man execvP, and see error about no manpage found.
run man 3 exec, and observe the manpage describing execvP as well.



>Fix:


Add MLINK for execvP(3).

--- libc-MLINKS-execvP.diff begins here ---
Index: lib/libc/gen/Makefile.inc
===================================================================
RCS file: /storage/freebsd/cvs/src/lib/libc/gen/Makefile.inc,v
retrieving revision 1.123
diff -u -r1.123 Makefile.inc
--- lib/libc/gen/Makefile.inc	10 Sep 2005 14:09:37 -0000	1.123
+++ lib/libc/gen/Makefile.inc	30 Nov 2005 16:26:45 -0000
@@ -76,7 +76,7 @@
 	err.3 verr.3 err.3 verrc.3 err.3 verrx.3 err.3 vwarn.3 err.3 vwarnc.3 \
 	err.3 vwarnx.3 err.3 warnc.3 err.3 warn.3 err.3 warnx.3
 MLINKS+=exec.3 execl.3 exec.3 execle.3 exec.3 execlp.3 exec.3 exect.3 \
-	exec.3 execv.3 exec.3 execvp.3
+	exec.3 execv.3 exec.3 execvp.3 exec.3 execvP.3
 MLINKS+=fpclassify.3 finite.3 fpclassify.3 finitef.3 \
 	fpclassify.3 isfinite.3 fpclassify.3 isinf.3 fpclassify.3 isnan.3 \
 	fpclassify.3 isnormal.3
--- libc-MLINKS-execvP.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1133406043.0>