VirtualBox

Changeset 3140 in kBuild for trunk/src/kmk/glob/glob.c


Ignore:
Timestamp:
Mar 14, 2018 9: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:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

  • 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    {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette