public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-10-04 12:59 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:59 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4d163aafda9e7e343fa3ab1937b70c1dac8bef2b

commit 4d163aafda9e7e343fa3ab1937b70c1dac8bef2b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2024-02-09 17:30 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:30 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5ff76fae87a9fe10ddaef224c3f19ad9e0dd7de8

commit 5ff76fae87a9fe10ddaef224c3f19ad9e0dd7de8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning
    
    clang issues:
    
    zdump.c:669:7: error: operator '?:' has lower precedence than '&'; '&'
    will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
                        ? (delta(&tm, &lotm) == t - lot
    
    which is exactly what the code intendes.  Instead of adding a
    warning suppress, place parentheses around the '&' expression.

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2024-02-07 14:06 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:06 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=020d69d12deb8f88c8d4a1709569e43dd01345b2

commit 020d69d12deb8f88c8d4a1709569e43dd01345b2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning
    
    clang issues:
    
    zdump.c:669:7: error: operator '?:' has lower precedence than '&'; '&'
    will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
                        ? (delta(&tm, &lotm) == t - lot
    
    which is exactly what the code intendes.  Instead of adding a
    warning suppress, place parentheses around the '&' expression.

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2024-01-29 17:56 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:56 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bee7e6dac37002da6aa254b6e6a779e5930495ff

commit bee7e6dac37002da6aa254b6e6a779e5930495ff
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning
    
    clang issues:
    
    zdump.c:669:7: error: operator '?:' has lower precedence than '&'; '&'
    will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
                        ? (delta(&tm, &lotm) == t - lot
    
    which is exactly what the code intendes.  Instead of adding a
    warning suppress, place parentheses around the '&' expression.

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2023-12-21 18:53 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f6ce9fe8be8ccea410946365aa50f59dabc2c4e2

commit f6ce9fe8be8ccea410946365aa50f59dabc2c4e2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning
    
    clang issues:
    
    zdump.c:669:7: error: operator '?:' has lower precedence than '&'; '&'
    will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
                        ? (delta(&tm, &lotm) == t - lot
    
    which is exactly what the code intendes.  Instead of adding a
    warning suppress, place parentheses around the '&' expression.

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2023-09-28 17:51 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:51 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e2a1ef0422b996e55e205b2c19b50dea6db64a36

commit e2a1ef0422b996e55e205b2c19b50dea6db64a36
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning
    
    clang issues:
    
    zdump.c:669:7: error: operator '?:' has lower precedence than '&'; '&'
    will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
                        ? (delta(&tm, &lotm) == t - lot
    
    which is exactly what the code intendes.  Instead of adding a
    warning suppress, place parentheses around the '&' expression.

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2023-08-30 12:36 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:36 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9128a98fc48634088275fe2c97c2b889532cc08a

commit 9128a98fc48634088275fe2c97c2b889532cc08a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2023-02-09 19:48 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:48 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=96dea26800b3a8e3e72dd63370d563cff2feda3f

commit 96dea26800b3a8e3e72dd63370d563cff2feda3f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-10-28 17:41 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:41 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a801c9daf8a583c86bbbf907d221c5db6156c2e8

commit a801c9daf8a583c86bbbf907d221c5db6156c2e8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-06-09 21:19 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:19 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ce19bd5951e33528ddfe009403d061a64f9593b1

commit ce19bd5951e33528ddfe009403d061a64f9593b1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-06-09 13:16 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:16 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ce19bd5951e33528ddfe009403d061a64f9593b1

commit ce19bd5951e33528ddfe009403d061a64f9593b1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-06-03 14:05 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:05 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=252d12b0cc45a3ada2d3ca17cd4aa35e083b6a0b

commit 252d12b0cc45a3ada2d3ca17cd4aa35e083b6a0b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-05-13 14:19 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:19 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=79279af17dbf48bb0b8955a4167172bcfba81340

commit 79279af17dbf48bb0b8955a4167172bcfba81340
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-05-12 19:33 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:33 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=669db4f92be5591dac99b728deb271ef3adc7749

commit 669db4f92be5591dac99b728deb271ef3adc7749
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-05-10 18:23 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:23 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bc92f00c215ecb56f541cc3bdefcf3ed3e1fcc14

commit bc92f00c215ecb56f541cc3bdefcf3ed3e1fcc14
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-04-29 14:03 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:03 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b1c262358e67c4554ad5ae70cfc7ecbfaf262196

commit b1c262358e67c4554ad5ae70cfc7ecbfaf262196
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-04-04 12:53 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b1e6dc8f41ffd4fbbac2214e8f8a02c70e74b4e7

commit b1e6dc8f41ffd4fbbac2214e8f8a02c70e74b4e7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-03-31 19:06 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:06 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=904a0dd8efb2119c8ac577c51c87c95ed3dac17e

commit 904a0dd8efb2119c8ac577c51c87c95ed3dac17e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-03-29 20:29 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:29 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=084411127698d007ed71eeb238431fee2fce1ba9

commit 084411127698d007ed71eeb238431fee2fce1ba9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-03-16 18:02 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-03-16 18:02 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b97ed7d0dc10e653769cc850cc41e04b807ffaec

commit b97ed7d0dc10e653769cc850cc41e04b807ffaec
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-03-15 18:40 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-03-15 18:40 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b97ed7d0dc10e653769cc850cc41e04b807ffaec

commit b97ed7d0dc10e653769cc850cc41e04b807ffaec
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread
* [glibc/azanella/clang] timezone: Fix clang operator precedence warning
@ 2022-03-11 17:24 Adhemerval Zanella
  0 siblings, 0 replies; 22+ messages in thread
From: Adhemerval Zanella @ 2022-03-11 17:24 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=36d711f1b29abae5fcc8c96c0048900c393cf7ce

commit 36d711f1b29abae5fcc8c96c0048900c393cf7ce
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 16:44:45 2022 -0300

    timezone: Fix clang operator precedence warning

Diff:
---
 timezone/zdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index b532fe3eae..bfc01faffa 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -665,7 +665,7 @@ hunt(timezone_t tz, char *name, time_t lot, time_t hit)
 		else if (t >= hit)
 			--t;
 		tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
-		if (lotm_ok & tm_ok
+		if ((lotm_ok & tm_ok)
 		    ? (delta(&tm, &lotm) == t - lot
 		       && tm.tm_isdst == lotm.tm_isdst
 		       && strcmp(abbr(&tm), ab) == 0)


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-02-09 17:30 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 12:59 [glibc/azanella/clang] timezone: Fix clang operator precedence warning Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2024-02-09 17:30 Adhemerval Zanella
2024-02-07 14:06 Adhemerval Zanella
2024-01-29 17:56 Adhemerval Zanella
2023-12-21 18:53 Adhemerval Zanella
2023-09-28 17:51 Adhemerval Zanella
2023-08-30 12:36 Adhemerval Zanella
2023-02-09 19:48 Adhemerval Zanella
2022-10-28 17:41 Adhemerval Zanella
2022-06-09 21:19 Adhemerval Zanella
2022-06-09 13:16 Adhemerval Zanella
2022-06-03 14:05 Adhemerval Zanella
2022-05-13 14:19 Adhemerval Zanella
2022-05-12 19:33 Adhemerval Zanella
2022-05-10 18:23 Adhemerval Zanella
2022-04-29 14:03 Adhemerval Zanella
2022-04-04 12:53 Adhemerval Zanella
2022-03-31 19:06 Adhemerval Zanella
2022-03-29 20:29 Adhemerval Zanella
2022-03-16 18:02 Adhemerval Zanella
2022-03-15 18:40 Adhemerval Zanella
2022-03-11 17:24 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).