[devel] [PATCH 1 of 1] Additional patch for PLM compilation error, for patch-11 (#537)

2013-12-08 Thread ramesh . betham
 osaf/libs/core/include/ncs_osprm.h |  8 
 1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/osaf/libs/core/include/ncs_osprm.h 
b/osaf/libs/core/include/ncs_osprm.h
--- a/osaf/libs/core/include/ncs_osprm.h
+++ b/osaf/libs/core/include/ncs_osprm.h
@@ -798,6 +798,14 @@ uint32_t ncs_os_posix_mq(NCS_OS_POSIX_MQ
  /
 #define m_NCS_OS_GET_TIME_STAMP(timestamp) timestamp=time((time_t*)0)
 
+#ifndef m_GET_ASCII_DATE_TIME_STAMP
+#define m_GET_ASCII_DATE_TIME_STAMP(timestamp, asc_timestamp)  \
+{ \
+timestamp=(time_t) (time((time_t *) 0)); \
+strftime((char *)(asc_timestamp), 40, "%d%b%Y_%H.%M.%S", 
localtime(×tamp)); \
+}
+#endif
+
 
 /
  ****

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel


Re: [devel] [PATCH 1 of 1] Additional patch for PLM compilation error, for patch-11 (#537)

2013-12-09 Thread Hans Feldt
If PLM is now the only user of this please change PLM instead.
/Hans

On 12/09/2013 08:31 AM, ramesh.bet...@oracle.com wrote:
>   osaf/libs/core/include/ncs_osprm.h |  8 
>   1 files changed, 8 insertions(+), 0 deletions(-)
>
>
> diff --git a/osaf/libs/core/include/ncs_osprm.h 
> b/osaf/libs/core/include/ncs_osprm.h
> --- a/osaf/libs/core/include/ncs_osprm.h
> +++ b/osaf/libs/core/include/ncs_osprm.h
> @@ -798,6 +798,14 @@ uint32_t ncs_os_posix_mq(NCS_OS_POSIX_MQ
>
> /
>   #define m_NCS_OS_GET_TIME_STAMP(timestamp) timestamp=time((time_t*)0)
>
> +#ifndef m_GET_ASCII_DATE_TIME_STAMP
> +#define m_GET_ASCII_DATE_TIME_STAMP(timestamp, asc_timestamp)  \
> +{ \
> +timestamp=(time_t) (time((time_t *) 0)); \
> +strftime((char *)(asc_timestamp), 40, "%d%b%Y_%H.%M.%S", 
> localtime(×tamp)); \
> +}
> +#endif
> +
>
>   
> /
>**
> **
>
> --
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> ___
> Opensaf-devel mailing list
> Opensaf-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensaf-devel
>
>

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel


Re: [devel] [PATCH 1 of 1] Additional patch for PLM compilation error, for patch-11 (#537)

2013-12-10 Thread Anders Widell
And it is only used at one place in PLM, so the macro can be removed and 
code inserted at that place.

regards,
Anders Widell

2013-12-09 16:13, Hans Feldt skrev:
> If PLM is now the only user of this please change PLM instead.
> /Hans
>
> On 12/09/2013 08:31 AM, ramesh.bet...@oracle.com wrote:
>>   osaf/libs/core/include/ncs_osprm.h |  8 
>>   1 files changed, 8 insertions(+), 0 deletions(-)
>>
>>
>> diff --git a/osaf/libs/core/include/ncs_osprm.h 
>> b/osaf/libs/core/include/ncs_osprm.h
>> --- a/osaf/libs/core/include/ncs_osprm.h
>> +++ b/osaf/libs/core/include/ncs_osprm.h
>> @@ -798,6 +798,14 @@ uint32_t ncs_os_posix_mq(NCS_OS_POSIX_MQ
>> /
>>   #define m_NCS_OS_GET_TIME_STAMP(timestamp) timestamp=time((time_t*)0)
>>
>> +#ifndef m_GET_ASCII_DATE_TIME_STAMP
>> +#define m_GET_ASCII_DATE_TIME_STAMP(timestamp, asc_timestamp) \
>> +{ \
>> +timestamp=(time_t) (time((time_t *) 0)); \
>> +strftime((char *)(asc_timestamp), 40, "%d%b%Y_%H.%M.%S", 
>> localtime(×tamp)); \
>> +}
>> +#endif
>> +
>>
>> /
>> ** **
>>
>> --
>>  
>>
>> Sponsored by Intel(R) XDK
>> Develop, test and display web and hybrid apps with a single code base.
>> Download it for free now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk 
>>
>> ___
>> Opensaf-devel mailing list
>> Opensaf-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/opensaf-devel
>>
>>


--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel


Re: [devel] [PATCH 1 of 1] Additional patch for PLM compilation error, for patch-11 (#537)

2013-12-10 Thread Ramesh Betham
Will consider this comment while submitting the patch.

Thanks,
Ramesh.

On 12/9/2013 8:43 PM, Hans Feldt wrote:
> If PLM is now the only user of this please change PLM instead.
> /Hans
>
> On 12/09/2013 08:31 AM, ramesh.bet...@oracle.com wrote:
>>   osaf/libs/core/include/ncs_osprm.h |  8 
>>   1 files changed, 8 insertions(+), 0 deletions(-)
>>
>>
>> diff --git a/osaf/libs/core/include/ncs_osprm.h 
>> b/osaf/libs/core/include/ncs_osprm.h
>> --- a/osaf/libs/core/include/ncs_osprm.h
>> +++ b/osaf/libs/core/include/ncs_osprm.h
>> @@ -798,6 +798,14 @@ uint32_t ncs_os_posix_mq(NCS_OS_POSIX_MQ
>> /
>>   #define m_NCS_OS_GET_TIME_STAMP(timestamp) timestamp=time((time_t*)0)
>>
>> +#ifndef m_GET_ASCII_DATE_TIME_STAMP
>> +#define m_GET_ASCII_DATE_TIME_STAMP(timestamp, asc_timestamp) \
>> +{ \
>> +timestamp=(time_t) (time((time_t *) 0)); \
>> +strftime((char *)(asc_timestamp), 40, "%d%b%Y_%H.%M.%S", 
>> localtime(×tamp)); \
>> +}
>> +#endif
>> +
>>
>> /
>> ** **
>>
>> --
>>  
>>
>> Sponsored by Intel(R) XDK
>> Develop, test and display web and hybrid apps with a single code base.
>> Download it for free now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk 
>>
>> ___
>> Opensaf-devel mailing list
>> Opensaf-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/opensaf-devel
>>
>>


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel