]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Remove non-ASCII characters in header file comments 1044/head
authorBaldur Karlsson <baldurk@baldurk.org>
Tue, 13 Mar 2018 20:02:21 +0000 (20:02 +0000)
committerBaldur Karlsson <baldurk@baldurk.org>
Tue, 13 Mar 2018 20:05:53 +0000 (20:05 +0000)
* Replaced a non-breaking space and an en dash with a plain space and
  a hyphen.
* This means the files are simple ASCII and less likely to run into
  codepage issues.

lib/common/bitstream.h
programs/platform.h

index c6f001248abb0090171b69eb68b71863a578a6da..19192dd9163ca80d105c861578102e3bfdd4ee91 100644 (file)
@@ -417,7 +417,7 @@ MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, U32 nbBits)
  *  Refill `bitD` from buffer previously set in BIT_initDStream() .
  *  This function is safe, it guarantees it will not read beyond src buffer.
  * @return : status of `BIT_DStream_t` internal register.
- *           when status == BIT_DStream_unfinished, internal register is filled with at least 25 or 57 bits */
+ *           when status == BIT_DStream_unfinished, internal register is filled with at least 25 or 57 bits */
 MEM_STATIC BIT_DStream_status BIT_reloadDStream(BIT_DStream_t* bitD)
 {
     if (bitD->bitsConsumed > (sizeof(bitD->bitContainer)*8))  /* overflow detected, like end of stream */
index e9629a0fa05c1e5952f83ae1ca07293554187476..e843bfb90cb4cb4e50f84c162c2fb96791c0ed92 100644 (file)
@@ -70,7 +70,7 @@ extern "C" {
 ***************************************************************/
 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)) /* UNIX-like OS */ \
    || defined(__midipix__) || defined(__VMS))
-#  if (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || defined(_AIX) || defined(__hpux) /* POSIX.12001 (SUSv3) conformant */ \
+#  if (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || defined(_AIX) || defined(__hpux) /* POSIX.1-2001 (SUSv3) conformant */ \
      || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)  /* BSD distros */
 #    define PLATFORM_POSIX_VERSION 200112L
 #  else