[adding nut-upsdev back to CC list.] > While you at it --- I’ve written the nut_clock_gettime POSIX implementation > so that > fallback from monotonic POSIX clock impl. to RTC is actually also done if the > system > defines _POSIX_MONOTONIC_CLOCK macro, but the call ends with EINVAL > (i.e. not implemented) if monotonic clock is requested. > I thought that may be a bit over-protective; as soon as the OS defines the > detection > macro, we should be entitled to expect it to work; EINVAL should therefore be > considered an error and propagated.
I'm confused. Could you post pseudocode, or the actual patch, for what is being described above? -- Charles Lepple clepple@gmail _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
