From patchwork Fri Mar 14 23:07:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 330524 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C64922C00A6 for ; Sat, 15 Mar 2014 10:07:17 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=ExQGcUKEM9vUrymzZtASTdvoy7ro0juxAlw0t36XOMX2t1 x0qi789ovDkbVZ27WKFjmHOKAIe2SSCIuFpKS5sm0w9g48nDoXgMfDZI19H0omFS Q2vjrv+90xgYrkJTD5+Z0SeitaM5/T0qhRt7LyT0EPCa3Ymm31w61Z2g20VbU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=M63HX2hiMHAdjNsehpM8+/jnlnY=; b=crA1DjJsXwLE/IrUZ4RR o6GQRj1Hg76/mQHGEdctiUvL6HAD5iihx+lr7VKJI9q5WNYRexud4B3hNhIW+uvP rEqclso+sphmHU4U3bXgrHC+C9ZBgO6/pgrgI6g5cZ4yh11KkfW3w6RJoTE23Z0F cEHwE0NTz/BnfhJJcrdVb4U= Received: (qmail 11143 invoked by alias); 14 Mar 2014 23:07:12 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 11132 invoked by uid 89); 14 Mar 2014 23:07:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Remove "Compiled on ..." crapola from version text. Message-Id: <20140314230708.C99717449E@topped-with-meat.com> Date: Fri, 14 Mar 2014 16:07:08 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Rt9WckWK c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=ZKhvRFOVh90A:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=qnlDtGomBgJbITnHwJYA:9 a=CjuIK1q_8ugA:10 2014-03-14 Roland McGrath * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific "Compiled on ..." crapola. It is anti-useful. --- a/csu/Makefile +++ b/csu/Makefile @@ -131,40 +131,7 @@ all-Banner-files = $(wildcard $(addsuffix /Banner,\ $(sysdeps-srcdirs)))) $(objpfx)version-info.h: $(common-objpfx)config.make $(all-Banner-files) $(make-target-directory) - (case $(config-os) in \ - linux*) version=`(printf '%s\n%s\n' \ - '#include ' \ - UTS_RELEASE \ - | $(CC) $(CPPFLAGS) -O -E -P - -DNOT_IN_libc=1 | \ - sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\ - if [ -z "$$version" ]; then \ - version=`(printf '%s\n%s\n' \ - '#include ' \ - LINUX_VERSION_CODE \ - | $(CC) $(CPPFLAGS) -O -E -P - -DNOT_IN_libc=1 \ - | sed -n -e '/^[123456789].*/p' \ - | awk '{v=$$1; \ - printf("%d.%d.%d\n", \ - v/65535, v/256%256, v%256)}') \ - 2>/dev/null`; \ - fi; \ - if [ -z "$$version" ]; then \ - if [ -r /proc/version ]; then \ - version=`sed 's/.*Linux version \([^ ]*\) .*/>>\1< /dev/null`; \ - if [ -z "$$os" ]; then \ - os=Linux; \ - fi; \ - printf '"Compiled on a %s %s system on %s.\\n"\n' \ - "$$os" "$$version" "`date +%Y-%m-%d`";; \ - *) ;; \ - esac; \ - files="$(all-Banner-files)"; \ + (files="$(all-Banner-files)"; \ if test -n "$$files"; then \ printf '"Available extensions:\\n"\n'; \ sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \