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: 98 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx22.g.dreamhost.com (caibbdcaabij.dreamhost.com [208.113.200.189]) by wilcox.dreamhost.com (Postfix) with ESMTP id 8C9DB3600C0 for ; Fri, 14 Mar 2014 16:07:14 -0700 (PDT) Received: by homiemail-mx22.g.dreamhost.com (Postfix, from userid 14307373) id 3B8204F16A35; Fri, 14 Mar 2014 16:07:14 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx22.g.dreamhost.com 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 homiemail-mx22.g.dreamhost.com (Postfix) with ESMTPS id 19BDA4F16A1B for ; Fri, 14 Mar 2014 16:07:14 -0700 (PDT) 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=vltGZ/HUqOZ1JiEGcc+V0YgzoR6VjiIwbXKyx4Wyihiyx7 dkQWkM12SGjwvKGrFo73+KAL23gzE21YjrE7eRu8/03WI5eyLzPEpN5uAfKMeRF4 Ie9InLUGuTZGYssb8nlJ4Ecp1EYfVRnB2d8yX4kDnzwMl/5vVoGUsL1lYV22M= 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=enSF4PyFURs+w4uQWgaT beMJULuMMre0NVX5GjN1Q8RiWEVmLtj3hrW4NM0ycqTdqWFtKHFTmUA0gPElati/ +xXahjDWEiVG5nvu1zN1eEbIKalpkLJmSLxy/K4dvKm3n9WjQGAy0WuSDuy9bCna l8dprbyh9eU+NisEPsN4yhY= 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 X-DH-Original-To: glibc@patchwork.siddhesh.in 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:]]*/ /' \