From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43168 invoked by alias); 12 Dec 2017 17:23:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 43157 invoked by uid 89); 12 Dec 2017 17:23:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx2.suse.de From: Andreas Schwab To: Adhemerval Zanella Cc: libc-alpha@sourceware.org Subject: Re: [PATCH] libio: Free backup area when it not required (BZ#22415) References: <1511962793-14533-1-git-send-email-adhemerval.zanella@linaro.org> X-Yow: I'm CONTROLLED by the CIA!! EVERYONE is controlled by the CIA!! Date: Tue, 12 Dec 2017 17:23:00 -0000 In-Reply-To: <1511962793-14533-1-git-send-email-adhemerval.zanella@linaro.org> (Adhemerval Zanella's message of "Wed, 29 Nov 2017 11:39:53 -0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-12/txt/msg00377.txt.bz2 On Nov 29 2017, Adhemerval Zanella wrote: > * libio/Makefile (tests): Add tst-bz22415. > (tst-bz22415-ENV): New rule. > (generated): Add tst-bz22415.mtrace and tst-bz22415.check. > (tests-special): Add tst-bz22415-mem.out. > ($(objpfx)tst-bz22415-mem.out): New rule. > * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area > in case of a successful seek operation. > * libio/wfileops.c (_IO_wfile_seekoff): Likewise. > (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write > buffer is required. > * libio/tst-bz22415.c: New test. Ok. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."