diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-08-03 18:14:39 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-08-03 18:14:39 +0200 |
commit | f418195dc93bb1d0591d43a550586c370facc856 (patch) | |
tree | 79dd8cb9c26ff689676187b3700fb17f85f38592 | |
parent | b226e4228a988d273b5214c9f22ecc5d8fa4288f (diff) | |
download | newlib-f418195dc93bb1d0591d43a550586c370facc856.zip newlib-f418195dc93bb1d0591d43a550586c370facc856.tar.gz newlib-f418195dc93bb1d0591d43a550586c370facc856.tar.bz2 |
Cygwin: fix/drop a few comments
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/param.h | 1 | ||||
-rw-r--r-- | winsup/cygwin/mount.cc | 8 | ||||
-rw-r--r-- | winsup/cygwin/mount.h | 7 |
4 files changed, 8 insertions, 11 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index c190dc2..0eb472a 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 742599b..b43e299 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 389f62f..10574ba 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 f54516c..d3e1f18 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; |