I: [PATCH] ptsname: fix typo in comment
Dmitry V. Levin
ldv@altlinux.org
Thu Jan 16 18:12:00 GMT 2003
Greetings!
The sysdeps/unix/sysv/linux/ptsname.c contains funny typo in comment,
patch attached.
--
ldv
-------------- next part --------------
2003-01-15 Dmitry V. Levin <ldv@altlinux.org>
* sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
--- sysdeps/unix/sysv/linux/ptsname.c 24 Sep 2002 04:21:05 -0000 1.14
+++ sysdeps/unix/sysv/linux/ptsname.c 16 Jan 2003 11:51:48 -0000
@@ -32,13 +32,13 @@
/* Check if DEV corresponds to a master pseudo terminal device. */
#define MASTER_P(Dev) \
(major ((Dev)) == 2 \
|| (major ((Dev)) == 4 && minor ((Dev)) >= 128 && minor ((Dev)) < 192) \
|| (major ((Dev)) >= 128 && major ((Dev)) < 136))
-/* Check if DEV corresponds to a master pseudo terminal device. */
+/* Check if DEV corresponds to a slave pseudo terminal device. */
#define SLAVE_P(Dev) \
(major ((Dev)) == 3 \
|| (major ((Dev)) == 4 && minor ((Dev)) >= 192 && minor ((Dev)) < 256) \
|| (major ((Dev)) >= 136 && major ((Dev)) < 144))
/* Note that major number 4 corresponds to the old BSD style pseudo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030116/869c323b/attachment.sig>
More information about the Libc-alpha
mailing list