]> granicus.if.org Git - procps-ng/commit
library: cygwin fixes for devname
authorCraig Small <csmall@dropbear.xyz>
Tue, 3 May 2022 10:33:44 +0000 (20:33 +1000)
committerCraig Small <csmall@dropbear.xyz>
Tue, 3 May 2022 10:33:44 +0000 (20:33 +1000)
commitb47693c078c256e897baf6b50f3aaf6accb5d35e
tree9ede3bcea38cc589dd7f821386263c41992981d9
parent823b6a3b1a9a061e7deb05c842902a137f5ea971
library: cygwin fixes for devname

Change the default name to cons%d

ctty can be used by other systems not just Cygwin so create a define
separate to cygwin for using the ctty function. The autoconf will need
to be updated to check for these specific systems in future.

Thanks to Achim of the Cygwin project for the patches.

Signed-off-by: Craig Small <csmall@dropbear.xyz>
proc/devname.c