Fix: MdsShr->LibTimeToVMSTime: Avoid separate calls for current seconds and microseconds (#2467)#2468
Fix: MdsShr->LibTimeToVMSTime: Avoid separate calls for current seconds and microseconds (#2467)#2468merlea wants to merge 1 commit intoMDSplus:alphafrom
Conversation
c35d51b to
d4499c9
Compare
|
I am reviewing this now. Seems odd to me that the input to this routine is a time_t but I guess that is the way we wrote it, or I am confused about what a time_t is. Do you have time to discuss? |
|
retest this please |
|
I am not an expert at all about compilation on Windows and I don't know what is your build setup but my guess is that since Otherwise as the I then see 2 options:
|
|
I have looked further and it seems the definition of |
…ds and microseconds (MDSplus#2467)
d4499c9 to
6fb4811
Compare
See #2467.
In MdsShr->LibTimeToVMSTime, if
time_inis not provided in input, then the current time is fetched using a single call togettimeofday.