[ntp:hackers] /dev/ntpsymlink1 -> COM1: for ntpd on Windows

Dave Hart davehart at gmail.com
Sun May 31 22:04:28 UTC 2009

> So, I'd say the above needs to be:
>                snprintf(windev, sizeof(windev), "\\\\.\\COM%d", unit);

Good catch, Peter.  That explains why David Taylor's attempt to use
COM254: failed with ntpd previously.  Presumably DOS or Win16 programs
were known to take advantage of the ability to open COM11 meaning COM1
(or likely typically COM1garbage meaning COM1).  I'll include that fix
as well.

Dave Hart

More information about the hackers mailing list