[LinuxPPS] offset issues: solution?

Udo van den Heuvel udovdh at xs4all.nl
Sun Oct 8 11:48:23 CEST 2006


Rodolfo Giometti wrote:
> On Sun, Oct 08, 2006 at 10:42:10AM +0200, Udo van den Heuvel wrote:
>> As you see we return 1 if there is no path found.
> 
> Yes. That's ok.
> 
>> ntpd shows the message so fd <0 is true. This means that 1 is returned.
>> Should we return something else?
> 
> No. You did your job. :)

Well.. Copy, paste... :-)

>> BTW: What is the difference between return 1 and return (1)?
> 
> It's just the same.

So how do we explain the ntpd behaviour?
Or fix this problem?
Return something else like -1?



More information about the LinuxPPS mailing list