Changeset 3140 for trunk/src/kmk/glob


Ignore:
Timestamp:
Mar 14, 2018, 10:28:10 PM (7 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6 / https://git.savannah.gnu.org/git/make.git).

Location:
trunk/src/kmk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

  • trunk/src/kmk/glob/ChangeLog

    r2591 r3140  
     12013-10-20  Paul Smith  <psmith@gnu.org>
     2
     3        * glob.c (glob): Cherry-pick a471e96a5352a5f0bde6d32dd36d33524811a2b1
     4        from git://sourceware.org/git/glibc.git to fix SV 18123,
     5        https://sourceware.org/bugzilla/show_bug.cgi?id=10278
     6
    172008-09-28  Juan Manuel Guerrero  <juan.guerrero@gmx.de>
    28
  • trunk/src/kmk/glob/glob.c

    r2702 r3140  
    380380    }
    381381
     382  /* POSIX requires all slashes to be matched.  This means that with
     383     a trailing slash we must match only directories.  */
     384  if (pattern[0] && pattern[strlen (pattern) - 1] == '/')
     385    flags |= GLOB_ONLYDIR;
     386
    382387  if (flags & GLOB_BRACE)
    383388    {
  • trunk/src/kmk/glob/glob.h

    r3027 r3140  
    5757/* This is a guess.  */
    5858/*hb
    59  *      Conflicts with DECCs aready defined type __size_t.
     59 *      Conflicts with DECCs already defined type __size_t.
    6060 *      Defining an own type with a name beginning with '__' is no good.
    6161 *      Anyway if DECC is used and __SIZE_T is defined then __size_t is
Note: See TracChangeset for help on using the changeset viewer.