From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 21 15:10:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98D7A1065676 for ; Mon, 21 Sep 2009 15:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 713A48FC2A for ; Mon, 21 Sep 2009 15:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8LFA2qY076865 for ; Mon, 21 Sep 2009 15:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8LFA2t4076864; Mon, 21 Sep 2009 15:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 21 Sep 2009 15:10:02 GMT Resent-Message-Id: <200909211510.n8LFA2t4076864@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Liakh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33E4B106566C for ; Mon, 21 Sep 2009 15:03:01 +0000 (UTC) (envelope-from dliakh@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.23]) by mx1.freebsd.org (Postfix) with ESMTP id E07928FC15 for ; Mon, 21 Sep 2009 15:03:00 +0000 (UTC) Received: from headoffice.ukr.net ([212.42.94.154] helo=dliakh-ws.zzoo.testbed.ukr.net) by fsm1.ukr.net with esmtp ID 1Mpk6V-000P5u-0C for FreeBSD-gnats-submit@freebsd.org; Mon, 21 Sep 2009 17:42:59 +0300 Received: from dliakh-ws.zzoo.testbed.ukr.net (dliakh@localhost [127.0.0.1]) by dliakh-ws.zzoo.testbed.ukr.net (8.14.3/8.14.3) with ESMTP id n8LEh2DM008265 for ; Mon, 21 Sep 2009 17:43:02 +0300 (EEST) (envelope-from dliakh@dliakh-ws.zzoo.testbed.ukr.net) Received: (from dliakh@localhost) by dliakh-ws.zzoo.testbed.ukr.net (8.14.3/8.14.3/Submit) id n8LEh2lP008264; Mon, 21 Sep 2009 17:43:02 +0300 (EEST) (envelope-from dliakh) Message-Id: <200909211443.n8LEh2lP008264@dliakh-ws.zzoo.testbed.ukr.net> Date: Mon, 21 Sep 2009 17:43:02 +0300 (EEST) From: Dmitry Liakh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/139019: No xdr_sizeof() in libc. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Liakh List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 15:10:02 -0000 >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: