Skip to content

Commit

Permalink
* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
Browse files Browse the repository at this point in the history
should have a value.
2000-08-17  Andreas Jaeger  <aj@suse.de>

	* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
	should have a value.
  • Loading branch information
Andreas Jaeger committed Aug 17, 2000
1 parent e64911d commit 3a93e25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions localedata/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2000-08-17 Andreas Jaeger <aj@suse.de>

* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
should have a value.

2000-08-14 Ulrich Drepper <drepper@redhat.com>

* locales/iso14651_t1: Rearrange cyrillic and greek sections to
Expand Down
4 changes: 3 additions & 1 deletion localedata/tests-mbwc/tst_funcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ extern int result (FILE * fp, char res, const char *func, const char *loc,
#define TST_IF_RETURN(_s_func_) \
if (err_flg == 1) \
{ \
if (errno_save == err_exp) \
/* If no error occured, errno is undefined. Here we check only if \
errno has the right value if it should have one. */ \
if ((err_exp == 0) || (errno_save == err_exp)) \
{ \
result (fp, C_SUCCESS, _s_func_, locale, rec+1, seq_num+1, 1, \
MS_PASSED); \
Expand Down

0 comments on commit 3a93e25

Please sign in to comment.