Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1754122031, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"25c37996478025e2f6a70a2b0446a490", "oid":{ "oid": "439db0c97bd50cae008e876c6c8ed5e5011bf6eb", "alias": []},"blobname": "util/find-unused-errs", "blob": "#! /bin/bash\n# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.\n#\n# Licensed under the OpenSSL license (the \u0022License\u0022). You may not use\n# this file except in compliance with the License. You can obtain a copy\n# in the file LICENSE in the source distribution or at\n# https://www.openssl.org/source/license.html\n\n# Find unused error function-names and reason-codes, and edit them\n# out of the source. Doesn't handle line-wrapping, might have to do\n# some manual cleanups to fix compile errors.\n\nexport X1\u003d/tmp/f.1.$$\nexport X2\u003d/tmp/f.2.$$\n\ncd include/openssl || exit 1\ngrep '_[RF]_' * | awk '{print $3;}' | sort -u \u003e$X1\ncd ../..\n\nfor F in `cat $X1` ; do\n git grep -l --full-name -F $F \u003e$X2\n NUM\u003d`wc -l \u003c$X2`\n test $NUM -gt 2 \u0026\u0026 continue\n if grep -q $F crypto/err/openssl.ec ; then\n echo Possibly unused $F found in openssl.ec\n continue\n fi\n echo $F\n for FILE in `cat $X2` ; do\n grep -v -w $F \u003c$FILE \u003e$FILE.new\n mv $FILE.new $FILE\n done\ndone\n\nrm $X1 $X2\n","s":{"c":1754122031,"u": 128}} ],"g": 985,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 1, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}