From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11900 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 0/2] env functions overhaul Date: Sun, 3 Sep 2017 22:12:19 +0300 Message-ID: <20170903191221.5287-1-amonakov@ispras.ru> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1504465984 28380 195.159.176.226 (3 Sep 2017 19:13:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Sep 2017 19:13:04 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11914-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 03 21:12:49 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1doaK2-0006W4-WE for gllmg-musl@m.gmane.org; Sun, 03 Sep 2017 21:12:43 +0200 Original-Received: (qmail 31864 invoked by uid 550); 3 Sep 2017 19:12:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30642 invoked from network); 3 Sep 2017 19:12:33 -0000 X-Mailer: git-send-email 2.11.0 Xref: news.gmane.org gmane.linux.lib.musl.general:11900 Archived-At: Rich asked off-list to resend without the former patch 2/3, which can be found here: http://openwall.com/lists/musl/2016/03/13/5 Alexander Monakov (2): overhaul environment functions free allocations in clearenv src/env/clearenv.c | 8 +++- src/env/getenv.c | 15 ++++---- src/env/putenv.c | 106 ++++++++++++++++++++++++----------------------------- src/env/setenv.c | 41 ++++++++++++++------- src/env/unsetenv.c | 61 +++++++++++++++--------------- 5 files changed, 120 insertions(+), 111 deletions(-) rewrite src/env/putenv.c (88%) rewrite src/env/unsetenv.c (77%) -- 2.11.0