summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-01-16 23:04:06 +0000
committerJim Meyering <jim@meyering.net>2002-01-16 23:04:06 +0000
commit2f8c0a3131cb07b138b4ea2bdd6abc4c577633c1 (patch)
treeef55e46a052f9052bcf5a67539ec2b78ce44b3ec
parent9b0e6e4b564a2905f1f5ec6a930e38c99361e835 (diff)
downloadcoreutils-2f8c0a3131cb07b138b4ea2bdd6abc4c577633c1.tar.xz
(ISDIGIT, S_ISVTX, S_IXUGO): Comment fix.
-rw-r--r--src/sys2.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/sys2.h b/src/sys2.h
index df7ea2405..de7f6e284 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -59,7 +59,7 @@
# define S_ISGID 02000
#endif
-/* S_ISVTX is a common extension to POSIX.1. */
+/* S_ISVTX is a common extension to POSIX. */
#ifndef S_ISVTX
# define S_ISVTX 01000
#endif
@@ -113,7 +113,7 @@
# define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH)
#endif
-/* S_IXUGO is a common extension to POSIX.1. */
+/* S_IXUGO is a common extension to POSIX. */
#if !S_IXUGO
# define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH)
#endif
@@ -243,10 +243,9 @@ char *alloca ();
- Its arg may be any int or unsigned int; it need not be an unsigned char.
- It's guaranteed to evaluate its argument exactly once.
- It's typically faster.
- Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that
- only '0' through '9' are digits. Prefer ISDIGIT to ISDIGIT_LOCALE unless
- it's important to use the locale's definition of `digit' even when the
- host does not conform to Posix. */
+ POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to
+ ISDIGIT_LOCALE unless it's important to use the locale's definition
+ of `digit' even when the host does not conform to POSIX. */
#define ISDIGIT(c) ((unsigned) (c) - '0' <= 9)
#ifndef PARAMS