OSDN Git Service

Do not expose private declarations in <search.h>
[mingw/mingw-org-wsl.git] / mingwrt / ChangeLog
index 5d6cc9d..737ab3b 100644 (file)
@@ -1,3 +1,137 @@
+2022-08-26  Keith Marshall  <keith@users.osdn.me>
+
+       Do not expose private declarations in <search.h>
+
+       * include/search.h [_SEARCH_PRIVATE]: Do not consider.
+       (struct node, node_t, __MINGW_NONNULL): Relocate [re]definitions...
+       * mingwex/tsearch.h: ...to this new (private) header file.
+
+       * mingwex/tdelete.c mingwex/tfind.c mingwex/tsearch.c
+       * mingwex/twalk.c: Include "tsearch.h" in each, in place of
+       <search.h>; (the latter will be indirectly included by the former).
+       (_SEARCH_PRIVATE): Remove definition; it is no longer required.
+
+2022-08-15  Keith Marshall  <keith@users.osdn.me>
+
+       Correct project name references in mingwrt manpages.
+
+       * man/btowc.3.man man/dirname.3.man man/getline.3.man man/mbrlen.3.man
+       * man/mbrtowc.3.man man/mbsinit.3.man man/mbsrtowcs.3.man
+       * man/wcrtomb.3.man man/wcsrtombs.3.man man/wctob.3.man: Replace all
+       references to defunct "MinGW.org" project name; refer to "MinGW.OSDN"
+       instead.
+
+2022-08-15  Keith Marshall  <keith@users.osdn.me>
+
+       Correct project name references in mingwrt source files.
+
+       * README CRT_fenv.c Makefile.in configure.ac cpu_features.sx crt1.c
+       * setargv.c include/_mingw.h.in include/alloca.h include/conio.h
+       * include/ctype.h include/dir.h include/direct.h include/dlfcn.h
+       * include/dos.h include/errno.h include/excpt.h include/fenv.h
+       * include/float.h include/getopt.h include/glob.h include/io.h
+       * include/libgen.h include/limits.h include/locale.h include/malloc.h
+       * include/math.h include/msvcrtver.h include/process.h
+       * include/stdint.h include/stdio.h include/stdlib.h include/string.h
+       * include/strings.h include/time.h include/unistd.h include/wchar.h
+       * include/wctype.h include/sys/bsdtypes.h include/sys/stat.h
+       * include/sys/time.h include/sys/timeb.h include/sys/types.h
+       * include/sys/utime.h mingwex/basename.c mingwex/btowc.c
+       * mingwex/clockapi.c mingwex/clockapi.h mingwex/clockres.c
+       * mingwex/clockset.c mingwex/clocktime.c mingwex/codeset.c
+       * mingwex/complex/cabs_generic.c mingwex/complex/casin_generic.c
+       * mingwex/complex/catan_generic.c mingwex/complex/clog_generic.c
+       * mingwex/complex/cpow_generic.c mingwex/complex/csqrt_generic.c
+       * mingwex/cryptnam.c mingwex/dirent.c mingwex/dirname.c
+       * mingwex/dlfcn.c mingwex/fesetenv.c mingwex/ftruncate.c
+       * mingwex/glob.c mingwex/imaxdiv.c mingwex/insque.c mingwex/jmpstub.sx
+       * mingwex/math/asinh_generic.c mingwex/math/errno.sx
+       * mingwex/math/fmod_generic.sx.in mingwex/math/hypot_generic.c
+       * mingwex/math/log10_generic.sx mingwex/math/log1p_generic.sx
+       * mingwex/math/log2_generic.sx mingwex/math/log_generic.sx
+       * mingwex/math/pow_generic.sx mingwex/math/random.c
+       * mingwex/math/remquo_generic.sx mingwex/math/x87cvt_generic.sx
+       * mingwex/mbrconv.c mingwex/mbrlen.c mingwex/mbrscan.c
+       * mingwex/mbrtowc.c mingwex/mbsrtowcs.c mingwex/memalign.c
+       * mingwex/memcrypt.c mingwex/mkdtemp.c mingwex/mkstemp.c
+       * mingwex/nsleep.c mingwex/ofmt.c mingwex/ofmtctl.c mingwex/remque.c
+       * mingwex/setenv.c mingwex/stdio/fseeki64.c mingwex/stdio/ftelli64.c
+       * mingwex/stdio/fwrite.c mingwex/stdio/getdelim.c
+       * mingwex/stdio/pformat.c mingwex/stdio/snprintf.c
+       * mingwex/stdio/vsnprintf.c mingwex/strerror_r.c mingwex/strnlen.sx
+       * mingwex/strtok_r.c mingwex/wcharmap.c mingwex/wcharmap.h
+       * mingwex/wcrtomb.c mingwex/wcsrtombs.c mingwex/wcstofp.c
+       * mingwex/wctob.c tests/Makefile.in tests/ansiprintf.at
+       * tests/atlocal.in tests/clockapi.at tests/headers.at
+       * tests/logarithms.at tests/memalign.at tests/powerfunc.at
+       * tests/testsuite.at.in: Replace all references to defunct "MinGW.org"
+       project name; refer to "MinGW.OSDN" instead.
+
+2022-01-29  Keith Marshall  <keith@users.osdn.me>
+
+       Stop creating redundant "include/parts" directory.
+
+       * Makefile.in (mingwrt_include_subdirs): Remove reference to...
+       (parts): ...this; the directory is no longer used by mingwrt, so it
+       need not be created when performing "make install".
+
+2021-06-25  Keith Marshall  <keith@users.osdn.me>
+
+       Correct Microsoft's dup2() POSIX.1 non-conformity.
+
+       * include/unistd.h [! defined dup2]: Define macro reference to...
+       (__mingw_posix_dup2): ...this new in-line function, (as named by the
+       macro); it overrides the Microsoft dup2() function, to ensure that it
+       returns the correct file descriptor, as specified by POSIX.1, rather
+       than zero, as returned by the Microsoft implementation, on success.
+
+2021-06-13  Keith Marshall  <keith@users.osdn.me>
+
+       Implement a POSIX.1 compliant pseudo-random number generator.
+
+       * mingwex/math/random.c: New file; it implements...
+       (__mingw_random, __mingw_srandom, __mingw_initstate)
+       (__mingw_setstate): ...each of these API functions.
+       * include/stdlib.h [_XOPEN_SOURCE >= 500]: Declare them; map...
+       (random, srandom, initstate, setstate): ...these aliases.
+       [_BSD_SOURCE]: Likewise.
+
+       * Makefile.in (libmingwex.a): Require random.$OBJEXT
+
+2021-05-29  Keith Marshall  <keith@users.osdn.me>
+
+       Correct erroneous mkstemp() availability condition.
+
+       * include/stdlib.h (mkstemp): POSIX requires...
+       [_XOPEN_SOURCE >= 500]: ...this, which is equivalent to...
+       [_POSIX_C_SOURCE >= 199506L]: ...this, and not (as we had it)...
+       [_POSIX_C_SOURCE >= 200112L]: ...this; correct it.
+
+2021-05-23  Keith Marshall  <keith@users.osdn.me>
+
+       Add a makefile clarification comment.
+
+       * Makefile.in (msvcrt_repl_funcs): Explain inclusion...
+       (free, realloc): ...these.
+
+2021-04-11  Keith Marshall  <keith@users.osdn.me>
+
+       Prepare and publish MinGW.org WSL-5.4.2 release.
+
+       * All files (wsl-5.4.2-release): Tag assigned.
+
+2021-02-25  Keith Marshall  <keith@users.osdn.me>
+
+       Consolidate fmod() and remainder() source code.
+
+       * mingwex/math/fmod_generic.sx.in: New file; it replaces...
+       * mingwex/math/remainder.s mingwex/math/remainderf.s: ...these...
+       * mingwex/math/remainderl.s mingwex/math/fmodf.c: ...and these...
+       * mingwex/math/fmodl.c: ...and also this; delete them.
+
+       * Makefile.in (fmod_generic.sx, remainder_generic.sx): Add rule to
+       generate them.
+
 2021-02-24  Keith Marshall  <keith@users.osdn.me>
 
        Correct remquo() quotient computation; cf. MinGW-Bug #41597