Bug #377 ยป libmagic.diff
Makefile 12 Nov 2006 05:32:15 -0000 | ||
---|---|---|
MLINKS+= libmagic.3 magic_compile.3
|
||
MLINKS+= libmagic.3 magic_load.3
|
||
CLEANFILES+= magic magic.mgc magic.mime.mgc magic.mime.lnk libmagic.3
|
||
CLEANFILES+= magic magic.mgc magic.mime.mgc magic.mime.lnk libmagic.man libmagic.3
|
||
FILES= magic magic.mgc ${MAGICDIR}/magic.mime magic.mime.mgc
|
||
FILESDIR= /usr/share/misc
|
||
... | ... | |
MAGFILES= ${MAGICDIR}/Header ${MAGICDIR}/Localstuff\
|
||
${MAGICDIR}/Magdir/[a-z]*
|
||
libmagic.3: ${CONTRIBDIR}/doc/libmagic.man
|
||
libmagic.man: ${CONTRIBDIR}/doc/libmagic.man
|
||
patch -o ${.TARGET} ${.ALLSRC} libmagic.man.patch
|
||
libmagic.3: libmagic.man
|
||
sed -e s@__CSECTION__@1@g \
|
||
-e s@__FSECTION__@5@g \
|
||
-e s@__VERSION__@${VERSION}@g \
|
libmagic.man.patch 12 Nov 2006 04:55:59 -0000 | ||
---|---|---|
Index: libmagic.man
|
||
===================================================================
|
||
RCS file: /cvs/src/contrib/file-4/doc/libmagic.man,v
|
||
retrieving revision 1.1
|
||
diff -u -r1.1 libmagic.man
|
||
--- libmagic.man 12 Nov 2006 04:51:56 -0000 1.1
|
||
+++ libmagic.man 12 Nov 2006 04:53:21 -0000
|
||
@@ -120,7 +120,9 @@
|
||
The
|
||
.Fn magic_errno
|
||
function returns the last operating system error number
|
||
-.Pq .Xr errno 3
|
||
+.Po
|
||
+.Xr errno 2
|
||
+.Pc
|
||
that was encountered by a system call.
|
||
.Pp
|
||
The
|