4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-28 03:27:46 +08:00

Cygwin: fix/drop a few comments

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2022-08-03 18:14:39 +02:00
parent b226e4228a
commit f418195dc9
4 changed files with 8 additions and 11 deletions

View File

@ -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.

View File

@ -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) */

View File

@ -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)
{

View File

@ -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;