This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Separate ftell from fseek logic and avoid modifying FILE data (#16532)
- From: Andreas Schwab <schwab at suse dot de>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, libc-alpha at sourceware dot org
- Date: Tue, 25 Mar 2014 12:44:21 +0100
- Subject: Re: [PATCH 1/2] Separate ftell from fseek logic and avoid modifying FILE data (#16532)
- Authentication-results: sourceware.org; auth=none
- References: <20140220172904 dot GC16378 at spoyarek dot pnq dot redhat dot com> <53150D21 dot 6090104 at redhat dot com> <20140304031330 dot GJ1722 at spoyarek dot pnq dot redhat dot com>
Siddhesh Poyarekar <siddhesh@redhat.com> writes:
> diff --git a/libio/Makefile b/libio/Makefile
> index 22dbcae..488ee51 100644
> --- a/libio/Makefile
> +++ b/libio/Makefile
> @@ -60,7 +60,7 @@ tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \
> tst-wmemstream1 tst-wmemstream2 \
> bug-memstream1 bug-wmemstream1 \
> tst-setvbuf1 tst-popen1 tst-fgetwc bug-wsetpos tst-fseek \
> - tst-fwrite-error tst-ftell-partial-wide
> + tst-fwrite-error tst-ftell-partial-wide tst-ftell-active-handler
> ifeq (yes,$(build-shared))
> # Add test-fopenloc only if shared library is enabled since it depends on
> # shared localedata objects.
You need to set up LOCPATH so that the tests can find their locales.
Installed as obvious.
Andreas.
* libio/Makefile (tst-ftell-partial-wide-ENV)
(tst-ftell-active-handler-ENV): Define.
diff --git a/libio/Makefile b/libio/Makefile
index 69c25c0..cca0345 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -158,6 +158,8 @@ tst-swscanf-ENV = LOCPATH=$(common-objpfx)localedata
bug-ftell-ENV = LOCPATH=$(common-objpfx)localedata
tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
tst-fseek-ENV = LOCPATH=$(common-objpfx)localedata
+tst-ftell-partial-wide-ENV = LOCPATH=$(common-objpfx)localedata
+tst-ftell-active-handler-ENV = LOCPATH=$(common-objpfx)localedata
generated += tst-fopenloc.mtrace tst-fopenloc.check
--
1.9.1
--
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."