[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] patches: Allow including custom time.h headers


  • To: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Thu, 12 Sep 2019 14:54:33 +0300
  • Delivery-date: Thu, 12 Sep 2019 11:54:38 +0000
  • Ironport-phdr: 9a23:Xa7vJRRyB8t1zLmi+3pbW3sGdtpsv+yvbD5Q0YIujvd0So/mwa67ZBWDt8tkgFKBZ4jH8fUM07OQ7/m7HzRdqsra+DBaKdoQDkVD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2agMu4zf299IPOaAtUmjW9falyLBKrpgnNq8Uam4RvJrs/xxfTvndFe+tayGxmKFmOmxrw+tq88IRs/ihNpf4t7dJMXbn/c68lUbFWETMqPnwv6sb2rxfDVwyP5nUdUmUSjBVFBhXO4Q/5UJnsrCb0r/Jx1yaGM8L4S7A0Qimi4LxwSBD0kicHNiU2/3/Rh8dtka9UuhOhpxh4w47JfIGYMed1c63Bcd8GQ2dKQ91cXDJdDIyic4QPDvIBPedGoIn7u1sOtga1CQ21CO/y1jNEmnr60Ksn2OojDA7GxhQtEc8QvnTarNv7N6kcXu66w6bK0TrNYOhb2Svk6IXSbhwtvf+BULB2fMHMyUcvDQTFjlCIpIH7ODOVzfgNs2md7+F9U+yvlnYnqxxsqTWo2sgsjZLJhp4UylDC7yl5xJs1JcWlSENgfdGkC4FctzmHN4RtWM8iWWZotT88x7YbupC7ZDAHxIkoyhLCcfCKcIiF7gj9WOqPIzp0nnxodKqiixux8kWs0PPwW8mu3FpUoSdIksPAu38J2hHV98OJUOFy/l271jaKzw3T7+ZELl0qmqfDMJ4hx6IwloIUsUTeAi/6gEX2g7GSdkUj4uWo9eHnba/npp+YLYN7lhr+Pr42msyiGus0KBIOX2+D9eS90r3s41H5Ta1XgvA5j6XVqpPXKMQBqqKnHQNY0Jwv5hinAzejytsYnH0HLFxfeBKAiojkI03BIPfjDfejglSsli1nx/TbPr35H5XANWTMkKz7cbZl9k5T0xA/zcpY555MELEOPOrzWlPttNzfFhI5Ng20w+DmCNV6zYMSQH+ADbGHMKzMtV+F/eYvI+iXZI8JozbxMfck6ODojXMjnl8dZ6ap14MNaH+kBvRmP1mZYX30j9cfFWcFpBcxQ/Twh12ETDFTfWi9X6Mm6j4gEo2pEIDDRoGwgLGaxye7AoBWaX1cBl+WDXjobJ+IW+oUaC2JOMNhiDsEBvCdTNof0Rii8Sb8x6BqL93+UQE/lK/UlIclubyJ1Flm6zh9A/OU1W2XQmAylGoEQD4r9LtjvEA7w1yYl7VgibpCEooXr7lMUwE7MoWZw+FkBtTaXgPaYszPWFugBNK8Dnt5Gtcwxd4JeANxFsuvijjH3jG2GPkFmrrNA4Y7pPHyxX/0cu160GrH0uEFkkE7Cp9EMna6h6g58xXLGqbCiAOBiqzsb6NKj32Fz3uK0Wfb5BIQawV3S6iQGClHPkY=
  • Ironport-sdr: fSVqQb+F479Me1DuWAztQP6nvWe8S42SrODMbTXvkskNzvf/T84Ycyi6hRQBVv8Ywq8eOoWs3H InzqhW+t5wBQ==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Thanks for the patch, Vlad!

Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 9/12/19 2:29 PM, Vlad-Andrei BĂDOIU (78692) wrote:
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> ---
>  ...atch-in-order-to-include-custom-time.patch | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 
> patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch
> 
> diff --git 
> a/patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch 
> b/patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch
> new file mode 100644
> index 0000000..559aed4
> --- /dev/null
> +++ b/patches/0009-Apply-hackish-patch-in-order-to-include-custom-time.patch
> @@ -0,0 +1,27 @@
> +From 0681ed5f288093affbd72f34c97cdc0be1c7f4c7 Mon Sep 17 00:00:00 2001
> +From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> +Date: Thu, 12 Sep 2019 13:44:45 +0300
> +Subject: [PATCH 1/1] Apply hackish patch in order to include custom time.h
> + header first
> +
> +Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> +---
> + newlib/libc/include/time.h | 3 +++
> + 1 file changed, 3 insertions(+)
> +
> +diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
> +index 32baed9..f143b7c 100644
> +--- a/newlib/libc/include/time.h
> ++++ b/newlib/libc/include/time.h
> +@@ -315,5 +315,8 @@ int _EXFUN(clock_getenable_attr, (clockid_t clock_id, 
> int *attr));
> + }
> + #endif
> + 
> ++#else
> ++#include_next <time.h>
> ++
> + #endif /* _TIME_H_ */
> + 
> +-- 
> +2.20.1
> +
> 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.