Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-08-03 19:14:39 +0300
committerCorinna Vinschen <corinna@vinschen.de>2022-08-03 19:14:39 +0300
commitf418195dc93bb1d0591d43a550586c370facc856 (patch)
tree79dd8cb9c26ff689676187b3700fb17f85f38592
parentb226e4228a988d273b5214c9f22ecc5d8fa4288f (diff)
Cygwin: fix/drop a few comments
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/include/sys/param.h1
-rw-r--r--winsup/cygwin/mount.cc8
-rw-r--r--winsup/cygwin/mount.h7
4 files changed, 8 insertions, 11 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index c190dc2d6..0eb472ad8 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -218,8 +218,7 @@ details. */
143: Export clock_getres, clock_setres
144: Export timelocal, timegm.
145: Add MAP_NORESERVE flag to mmap.
- 146: Change SI_USER definition. FIXME: Need to develop compatibility
- macro for this?
+ 146: Change SI_USER definition.
147: Eliminate problematic d_ino from dirent structure. unsetenv now
returns int, as per linux.
148: Add open(2) flags O_SYNC, O_RSYNC, O_DSYNC and O_DIRECT.
diff --git a/winsup/cygwin/include/sys/param.h b/winsup/cygwin/include/sys/param.h
index 742599b8b..b43e29974 100644
--- a/winsup/cygwin/include/sys/param.h
+++ b/winsup/cygwin/include/sys/param.h
@@ -25,7 +25,6 @@
#define NGROUPS NGROUPS_MAX
/* Ticks/second for system calls such as times() */
-/* FIXME: is this the appropriate value? */
#define HZ 1000
/* Max hostname size that can be dealt with (== Win32 MAX_HOSTNAME_LEN) */
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index 389f62fad..10574ba58 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -1276,8 +1276,8 @@ static mount_item *mounts_for_sort;
/* sort_by_posix_name: qsort callback to sort the mount entries. Sort
user mounts ahead of system mounts to the same POSIX path. */
-/* FIXME: should the user should be able to choose whether to
- prefer user or system mounts??? */
+/* FIXME: should the user be able to choose whether to prefer user or
+ system mounts??? */
static int
sort_by_posix_name (const void *a, const void *b)
{
@@ -1312,8 +1312,8 @@ sort_by_posix_name (const void *a, const void *b)
/* sort_by_native_name: qsort callback to sort the mount entries. Sort
user mounts ahead of system mounts to the same POSIX path. */
-/* FIXME: should the user should be able to choose whether to
- prefer user or system mounts??? */
+/* FIXME: should the user be able to choose whether to prefer user or
+ system mounts??? */
static int
sort_by_native_name (const void *a, const void *b)
{
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h
index f54516c30..d3e1f1843 100644
--- a/winsup/cygwin/mount.h
+++ b/winsup/cygwin/mount.h
@@ -152,10 +152,9 @@ class mount_item
int build_win32 (char *, const char *, unsigned *, unsigned);
};
-/* Warning: Decreasing this value will cause cygwin.dll to ignore existing
- higher numbered registry entries. Don't change this number willy-nilly.
- What we need is to have a more dynamic allocation scheme, but the current
- scheme should be satisfactory for a long while yet. */
+/* Don't change this number willy-nilly. What we need is to have a more
+ dynamic allocation scheme, but the current scheme should be satisfactory
+ for a long while yet. */
#define MAX_MOUNTS 64
class reg_key;