From owner-svn-src-head@freebsd.org Tue Apr 4 19:45:04 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B695CD2ED59; Tue, 4 Apr 2017 19:45:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81ED81DAD; Tue, 4 Apr 2017 19:45:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x241.google.com with SMTP id 79so39360919pgf.0; Tue, 04 Apr 2017 12:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=h48NnS8Sj/xIHuBkfDzYeJR/qVjJugIrenu4Nlnt2Jc=; b=Mn1Jca+3H9/K4afA9xmtffkt507ztsO6xxL6DRS3NgDBezfc7iFMMl6OViOSeewiqp xN2H/9WvABnVMsc0HjOYKweDO+U3J6+OMTd6dE/i5AiqVU/UrpoAUxg02sy8+43IIlvd uvWjiOVPxgyGJd+KX8EKDMOrNfMy1aDJNZYEoiXU/RGt/8UsRiLJxAys8iWAyQdZIsR5 P42XXxF5S8B8CufZW5S9HRC2EwiTH6fQlwGzORV5F0EOi8q9OOdJds20K4+NokxrPv+0 mJc0kMTKZsM/f3Ct310QfN/Opvg1g4jPM7JfHuPdFTsMlUD3O5fYSePw7GwZy8LBV8fF l63w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=h48NnS8Sj/xIHuBkfDzYeJR/qVjJugIrenu4Nlnt2Jc=; b=WCjDnW414s0L65g0lVQjW5BPGP0UPmC07r8f8wenGSdEBTtVygR7X/P++mD4AedZGT +FbRYdd9PvIIVR0b0FU3ngqYC8RGNx0yDnxNWjz6dSvP4Ywh08NvVlPZqeQ/36FivsU4 TLnjfunbgMqgtgYuKubKecNJrCQhZywhUw1FBqYacL8zkSh0IZUi1n+ZqJRKXriTeLke OXXox7MCyLifbVQr+6pWYdrXAK9ck8ji/LB6Shgat71IpSeHgFeBXi/25wEkXufxerUv evqRg3d62MMO7u+c5OCBc9mjA8xuIJmE8bnpW3q44KerjdMoWcR8htsY8NmZPQ+9Ssp3 5+xg== X-Gm-Message-State: AFeK/H0ZCLbsVWWtSpUuLWpXAaonm6R/xuA3UM+leG+o7cwSNGLV2D1vHmfnV3b0E5TAvg== X-Received: by 10.98.82.78 with SMTP id g75mr24667254pfb.245.1491335103916; Tue, 04 Apr 2017 12:45:03 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id 189sm33263297pgd.30.2017.04.04.12.45.02 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Apr 2017 12:45:03 -0700 (PDT) Subject: Re: svn commit: r316492 - in head/usr.bin/grep: . regex Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F5F90B14-B2F4-4606-A554-52C162AAC2A3"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Tue, 4 Apr 2017 12:45:01 -0700 Cc: Dimitry Andric , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: <2CA2F0F0-17E4-4E9F-BDD6-10EDFECDB679@gmail.com> References: <201704041608.v34G8qSo055328@repo.freebsd.org> <4D675D2F-7D6F-4AF2-AE10-5DF19D4158D0@gmail.com> To: cem@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 19:45:04 -0000 --Apple-Mail=_F5F90B14-B2F4-4606-A554-52C162AAC2A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 4, 2017, at 12:04, Conrad Meyer wrote: >=20 > On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric = wrote: >> On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) = wrote: >>> Where did xmalloc.c originate from? >>=20 >> GNU. >=20 > I believe this to be completely incorrect. >=20 >> Almost all software from the GNU project relies on malloc wrappers >> which abort the program on allocation failures. >=20 > That is not what bsdgrep's xmalloc() did, if you read the code. It > simply tracks all allocations for basic leak analysis. >=20 > Abort on allocation failure would be a perfectly reasonable behavior > for bsdgrep(1), too. There are multiple, competing definitions floating around the internet. = I was genuinely curious where this variant came from because I wanted to = make sure we weren=E2=80=99t just zapping a file that some upstream uses = somewhere, in the event we were going to bring down further updates, = again, from said upstream source. Thanks, -Ngie --Apple-Mail=_F5F90B14-B2F4-4606-A554-52C162AAC2A3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJY4/e+AAoJEPWDqSZpMIYVqm0P/3zcSOI0PfT0WJ+U97qCmTF1 Sg1HlGzNWW610dSWUz60pg14CinAuVWP0ullFNKDwF+IhOKpsWA0lS9LuEXORKvu mMUZTifo7yzmJ1/cYjY72GBoqAoQKsRY22hQ73Ooo3/WUbvablKEjSX9SMRlW+uN Ji8rLV3IMddZDj0USWPrtNUleKDFeoNxPuCuYyP+FO9wezGD00HR7EPoGNFoSoBp UJzGMl6R0YarjIpYBFjJnJZLFzcJJnlgGV8xd6fyZsl/sj2fZRaNcuDYv1nt63KQ MDMacTEG5hzHDzWg9A3D59s07/4oUT6w3J3fujPc5cdQeDikPxyohJucwnZX1Dt2 gu33/RxJo5O5419sAX/8RcauD6XXD95/BvHpcH3bC48w9pHPGM8lEw6NVDQ5Yyf2 SgtswBoNbPPUJ9/Q33X0OkhG/CMnYR13WZRjLz7vArilh0+qJaECG6MvQws4cQT5 OfF1vEN5tqFgEE4nqyMrh2HKESfowhju4P0n7nqDK6RhWM7dbvGuYqp3xKZucS8X SSkORssaihX6ihCCFlEOdUeEMwfdlwXl0uORa7l2+IMDVJO/2PbitWtCdAnnatNL HhPMGK92cdi49e5AJye2HYjHGwwYP/znAtKAPze32/GFbcEzO5Oc6IAbLTiV+O0r Xqf3tpWnagKIMLtV0pKr =QUY5 -----END PGP SIGNATURE----- --Apple-Mail=_F5F90B14-B2F4-4606-A554-52C162AAC2A3--