Skip to contentSkip to conversation

freerdp: Add support for tz package

PATCH New Scott Fan 3 participants 10 messages Jul 28, 2015 – Jul 31, 2015

lore
Share & tools
lore

Scott Fan

author
#0 lore raw

PATCH 1/1 freerdp: Add support for tz package

Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone

---
 .../freerdp/0004-add-support-for-tz-package.patch  | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/freerdp/0004-add-support-for-tz-package.patch
package/freerdp/0004-add-support-for-tz-package.patch new file +30 -0
new file mode 100644
index 0000000..93e4afd
@@ -0,0 +1,30 @@
+From 605d0a85183d2f9d5b0da5629cbadf01173bbb2f Mon Sep 17 00:00:00 2001
+From: Scott Fan <[email protected]>
+Date: Mon, 13 Jul 2015 15:01:17 +0800
+Subject: [PATCH] Add support for tz package
+
+Fixes error message while freerdp connected the remote desktop:
+Unable to detect time zone
+
+Signed-off-by: Scott Fan <[email protected]>
+---
+ libfreerdp/locale/timezone.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/libfreerdp/locale/timezone.c b/libfreerdp/locale/timezone.c
+index 3070f1f..4a06786 100644
+--- a/libfreerdp/locale/timezone.c
++++ b/libfreerdp/locale/timezone.c
+@@ -1539,7 +1539,8 @@ char* freerdp_get_unix_timezone_identifier()
+ 	 * America/Montreal for example.
+ 	 */
+ 	
+-	if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1)
++	if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1 ||
++	    (len = readlink("/etc/TZ", buf, sizeof(buf) - 1)) != -1)
+ 	{
+ 		int num = 0;
+ 		int pos = len;
+-- 
+2.4.5
+
Signature · 1 line
2.4.6
#1 lore raw

PATCH 1/1 freerdp: Add support for tz package

Dear Scott Fan,

Quoted 4 lines · Scott Fan

Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone

You have already sent this patch numerous times, but you never include a changelog between the versions, so we don't understand why you're sending it again and again.

Can you at least put a cover letter in your patch series, which explains why you are sending the patches again?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#2 lore raw

PATCH 1/1 freerdp: Add support for tz package

Sorry, my emails always been blocked by GFW in China, so i'm not sure whether mails sent successfully. Just now, i've got a stable VPN connection. I promise i won't repeat again.

THIS patch should be independent from the patch series, which fixes the error
message 'Unable to detect time zone' while the freerdp command connected a remote desktop.

Thanks,

Scott Fan

Quoted 15 lines · Thomas Petazzoni

Dear Scott Fan,

Quoted 4 lines · Scott Fan

Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone

You have already sent this patch numerous times, but you never include a changelog between the versions, so we don't understand why you're sending it again and again.

Can you at least put a cover letter in your patch series, which explains why you are sending the patches again?

Quoted 8 lines

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150728/85bd20f3/attachment.html>

#3 lore raw

PATCH 1/1 freerdp: Add support for tz package

Dear Scott Fan,

Quoted 3 lines · Scott Fan

Sorry, my emails always been blocked by GFW in China, so i'm not sure whether mails sent successfully. Just now, i've got a stable VPN connection. I promise i won't repeat again.

Ok, I understand. You can check whether your e-mail arrived to the list by checking the list archives:

http://lists.busybox.net/pipermail/buildroot/

Note that it takes some time for the e-mails to get archived. I'm not sure how much, but maybe up to a few hours.

Quoted 4 lines

THIS patch should be independent from the patch series, which fixes the error
message 'Unable to detect time zone' while the freerdp command connected a remote desktop.

Right, but it was part of your earlier patch series nonetheless.

Could you have a look at
http://patchwork.ozlabs.org/project/buildroot/list/, and tell us which of your patches are the latest ones and should still be considered for merging, and which ones are no longer current?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#4 lore raw

PATCH 1/1 freerdp: Add support for tz package

you can merge the patch 501074, 501261 now,
pls abort the previous patch 501049, 501050

Scott Fan

Quoted 29 lines · Thomas Petazzoni

Dear Scott Fan,

Quoted 2 lines · Scott Fan

Sorry, my emails always been blocked by GFW in China, so i'm not sure whether mails sent successfully. Just now, i've got a stable VPN

connection.

Quoted 1 line

I promise i won't repeat again.

Ok, I understand. You can check whether your e-mail arrived to the list by checking the list archives:

http://lists.busybox.net/pipermail/buildroot/

Note that it takes some time for the e-mails to get archived. I'm not sure how much, but maybe up to a few hours.

Quoted 3 lines

THIS patch should be independent from the patch series, which fixes the error
message 'Unable to detect time zone' while the freerdp command connected

a

Quoted 1 line

remote desktop.

Right, but it was part of your earlier patch series nonetheless.

Could you have a look at
http://patchwork.ozlabs.org/project/buildroot/list/, and tell us which of your patches are the latest ones and should still be considered for merging, and which ones are no longer current?

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150728/40832c65/attachment.html>

#5 lore raw

PATCH 1/1 freerdp: Add support for tz package

Dear Scott Fan,

Quoted 1 line · Scott Fan

you can merge the patch 501074, 501261 now,

Well, they need some review and testing first.

Quoted 1 line

pls abort the previous patch 501049, 501050

Thanks, those ones marked as "Superseded".

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#6 lore raw

PATCH 1/1 freerdp: Add support for tz package

Ok, got it.

Thanks,

Scott Fan

Quoted 10 lines · Thomas Petazzoni

Dear Scott Fan,

Quoted 1 line · Scott Fan

you can merge the patch 501074, 501261 now,

Well, they need some review and testing first.

Quoted 1 line

pls abort the previous patch 501049, 501050

Quoted 8 lines

Thanks, those ones marked as "Superseded".

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150728/725636b7/attachment.html>

#7 lore raw

PATCH 1/1 freerdp: Add support for tz package

In reply to Scott Fan

Scott, All,

On 2015-07-28 16:25 +0800, Scott Fan spake thusly:

Quoted 4 lines

Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone

Regards,
Yann E. MORIN.

Quoted 48 lines
---
 .../freerdp/0004-add-support-for-tz-package.patch  | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/freerdp/0004-add-support-for-tz-package.patch
package/freerdp/0004-add-support-for-tz-package.patch new file +30 -0
new file mode 100644
index 0000000..93e4afd
@@ -0,0 +1,30 @@
+From 605d0a85183d2f9d5b0da5629cbadf01173bbb2f Mon Sep 17 00:00:00 2001
+From: Scott Fan <[email protected]>
+Date: Mon, 13 Jul 2015 15:01:17 +0800
+Subject: [PATCH] Add support for tz package
+
+Fixes error message while freerdp connected the remote desktop:
+Unable to detect time zone
+
+Signed-off-by: Scott Fan <[email protected]>
+---
+ libfreerdp/locale/timezone.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/libfreerdp/locale/timezone.c b/libfreerdp/locale/timezone.c
+index 3070f1f..4a06786 100644
+--- a/libfreerdp/locale/timezone.c
++++ b/libfreerdp/locale/timezone.c
+@@ -1539,7 +1539,8 @@ char* freerdp_get_unix_timezone_identifier()
+ 	 * America/Montreal for example.
+ 	 */
+ 	
+-	if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1)
++	if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1 ||
++	    (len = readlink("/etc/TZ", buf, sizeof(buf) - 1)) != -1)
+ 	{
+ 		int num = 0;
+ 		int pos = len;
+-- 
+2.4.5
+
Signature · 6 lines
2.4.6

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#8 lore raw

PATCH 1/1 freerdp: Add support for tz package

In reply to Scott Fan

Dear Scott Fan,

Quoted 8 lines · Scott Fan

Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone

---
 .../freerdp/0004-add-support-for-tz-package.patch  | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/freerdp/0004-add-support-for-tz-package.patch

Applied, thanks. Can you please submit the patch to the freerdp project?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#9 lore raw

PATCH 1/1 freerdp: Add support for tz package

Thomas,

Quoted 1 line

Can you please submit the patch to the freerdp project?

OK, I'll do it later on.

Scott Fan

Quoted 16 lines · Thomas Petazzoni

Dear Scott Fan,

Quoted 6 lines · Scott Fan

Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone

---
 .../freerdp/0004-add-support-for-tz-package.patch  | 30

++++++++++++++++++++++

Quoted 2 lines
 1 file changed, 30 insertions(+)
 create mode 100644 package/freerdp/0004-add-support-for-tz-package.patch

Applied, thanks. Can you please submit the patch to the freerdp project?

Quoted 8 lines

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150731/f3947b58/attachment.html>