From patchwork Fri Feb 24 14:34:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Girish Joshi X-Patchwork-Id: 65599 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 594DB385B501 for ; Fri, 24 Feb 2023 14:35:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 594DB385B501 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677249317; bh=eNaHwZ6DKgLOFs81IKCVAFGtWSAMfLRoOWZXBYfEyw0=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=KRlnUrNu9lyO/GJnwcduGvUtc+uxQggbTXfst0s0Iqouyyc2CZxl1ak5BkvsLlqfF KT5A6/7szMF+Zqyyaog4w1/eAqvNqzS7R7WSWzJ0LooGNqNCjbw9/BjEb9E3dSifqe r7hL/oKdfvxYO9k+R84LaFyd+weTnLqPAGZYmWHY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by sourceware.org (Postfix) with ESMTPS id 767593858284 for ; Fri, 24 Feb 2023 14:34:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 767593858284 Received: by mail-qt1-x82f.google.com with SMTP id c19so4236919qtn.13 for ; Fri, 24 Feb 2023 06:34:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eNaHwZ6DKgLOFs81IKCVAFGtWSAMfLRoOWZXBYfEyw0=; b=3FWaksZKxz4lXocnvujtBhbjolpUgwxaj0ggP6UTHPEOKco/xO5bvBhutWGKk+rY12 rICzZ4vkPfeLFJDXub7TsNrb8QK0uyLk1SO9KNwO7AqXI+ygQLOnkxrI0N5J+PQsJI2F Dw/uUft/OdInwfNVPEHRAeflmwVMncLuV5z8r/HF1xJGCCPz/bYvqZ6dTdn3f1226YBo rp/vyYuqhfECiovpAZWCLrPRndPAZ8fqiydvWLNV41vgceGH9yEde+Dv2lHkj6IQ0bmb oaXT161L+5OaefhH5521t9baTPgFhtep4doakGLN80C8bO9jelDh2ucaPtnSwDpDErwN tDDA== X-Gm-Message-State: AO0yUKVrlbbW/gfyg+LAJb82rG7nApzmELLQ/U0FopsjYpiy/E92q4Fa C7TaGpbzatZR5q/a+oPVTNoNZVIGBz5dJa/6qKyep/tXlOo= X-Google-Smtp-Source: AK7set8PoH61ddMkMHhVg9zNnAni9JGMwSJXeds6HEU8hbuUeWZM1A07Kdk10ZlyE0dECANnl2mTV3C1SxUZZ1b25f4= X-Received: by 2002:ac8:4598:0:b0:3bd:176a:d773 with SMTP id l24-20020ac84598000000b003bd176ad773mr2900780qtn.6.1677249292572; Fri, 24 Feb 2023 06:34:52 -0800 (PST) MIME-Version: 1.0 Date: Fri, 24 Feb 2023 20:04:41 +0530 Message-ID: Subject: [PATCH] manual: scripts/documented.sh updated To: Girish Joshi via Libc-alpha X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLACK autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Girish Joshi via Libc-alpha From: Girish Joshi Reply-To: Girish Joshi Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Hello, As per the Missing Functions section of master Todo list[1], scripts/documented.sh needs to be updated. Could someone please review this patch? It removes the reference to linuxthreads/*.taxi files from the script and removes the individual email address from the output. Thanks! Girish Joshi girishjoshi.io [1]: https://sourceware.org/glibc/wiki/Development_Todo/Master Reviewed-by: Adhemerval Zanella From 8f589f12be85655d5bb5f69b07753ca7aa87bc16 Mon Sep 17 00:00:00 2001 From: Girish Joshi Date: Fri, 24 Feb 2023 19:50:38 +0530 Subject: [PATCH] manual: scripts/documented.sh updated As mentioned in the master todo list, References for linuxthreads are removed from scripts/documented.sh. Also removed the individual email address from the html output. --- scripts/documented.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/documented.sh b/scripts/documented.sh index 7d1ffd4a92..7d9a044295 100644 --- a/scripts/documented.sh +++ b/scripts/documented.sh @@ -1,9 +1,17 @@ #!/bin/sh + +# usage: scripts/documented.sh +# for example: +# scripts/documented.sh $HOME/build/glibc + + bindir=$1 VERSION=1.0 -grep -E -h @deftypefu?nx? *.texi ../linuxthreads/*.texi | +# Collect the documented functions from manual/*.texi files. + +grep -E -h @deftypefu?nx? manual/*.texi | sed -e 's/@deftypefunx*[[:space:]]*\({[^{]*}\|[[:alnum:]_]*\)[[:space:]]*\([[:alnum:]_]*\).*/\2/' -e 's/@deftypefn {[^}]*function}*[[:space:]]*\({[^{]*}\|[[:alnum:]_]*\)[[:space:]]*\([[:alnum:]_]*\).*/\2/' -e '/^@/d' | sed -e '/^obstack_/d' -e '/^\([lf]\|\)stat\(\|64\)$/d' -e '/^mknod$/d' | sed -e '/^signbit$/d' -e '/^sigsetjmp$/d' | @@ -14,7 +22,9 @@ sed -e '/^__fpending$/d' -e '/^__flbf$/d' -e '/^__fbufsize$/d' | sed -e '/^alloca$/d' | sort -u > DOCUMENTED -nm --extern --define $bindir/libc.so $bindir/math/libm.so $bindir/rt/librt.so $bindir/linuxthreads/libpthread.so $bindir/dlfcn/libdl.so $bindir/crypt/libcrypt.so $bindir/login/libutil.so | +# Generate the HTML doc + +nm --extern --define $bindir/libc.so $bindir/math/libm.so $bindir/rt/librt.so $bindir/nptl/libpthread.so $bindir/dlfcn/libdl.so $bindir/crypt/libcrypt.so $bindir/login/libutil.so | grep -E " [TW] ([[:alpha:]]|_[[:alpha:]])" | sed 's/\(@.*\)//' | cut -b 12- | @@ -95,7 +105,6 @@ cat <
-
Ulrich Drepper
Generated on $(date) with documented.sh version $VERSION -- 2.39.1