Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 17:43:02 +0300 (EEST)
From:      Dmitry Liakh <dliakh@ukr.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/139019: No xdr_sizeof() in libc.
Message-ID:  <200909211443.n8LEh2lP008264@dliakh-ws.zzoo.testbed.ukr.net>
Resent-Message-ID: <200909211510.n8LFA2t4076864@freefall.freebsd.org>

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

>Number:         139019
>Category:       misc
>Synopsis:       No xdr_sizeof() in libc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 21 15:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Liakh
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
UkrNet
>Environment:
System: FreeBSD dliakh-ws.zzoo.testbed.ukr.net 7.1-STABLE FreeBSD 7.1-STABLE #10: Wed Jan 14 17:52:42 EET 2009 root@dliakh-ws.zzoo.testbed.ukr.net:/usr/obj/usr/src/sys/DLIAKH i386


>Description:
	There is xdr_sizeof.c in /usr/src/lib/libc/xdr, but it seems to be not used.
>How-To-Repeat:
>Fix:
diff -ur lib/libc/xdr.orig/Makefile.inc lib/libc/xdr/Makefile.inc
--- lib/libc/xdr.orig/Makefile.inc	2009-09-18 12:50:12.000000000 +0300
+++ lib/libc/xdr/Makefile.inc	2009-09-18 12:50:45.000000000 +0300
@@ -3,7 +3,8 @@
 
 .PATH: ${.CURDIR}/xdr ${.CURDIR}/.
 SRCS+=	xdr.c xdr_array.c xdr_float.c xdr_mem.c \
-	xdr_rec.c xdr_reference.c xdr_stdio.c
+	xdr_rec.c xdr_reference.c xdr_stdio.c \
+	xdr_sizeof.c
 
 SYM_MAPS+=	${.CURDIR}/xdr/Symbol.map
 
diff -ur lib/libc/xdr.orig/Symbol.map lib/libc/xdr/Symbol.map
--- lib/libc/xdr.orig/Symbol.map	2009-09-18 12:50:25.000000000 +0300
+++ lib/libc/xdr/Symbol.map	2009-09-18 12:50:53.000000000 +0300
@@ -42,6 +42,6 @@
 	xdrrec_endofrecord;
 	xdr_reference;
 	xdr_pointer;
-	/* xdr_sizeof; */ /* Why is xdr_sizeof.c not included in Makefileinc? */
+	xdr_sizeof;
 	xdrstdio_create;
 };
>Release-Note:
>Audit-Trail:
>Unformatted:



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