Descriptionfilepath: fix Glob to return no error on nonmatching patterns
filepath.Glob is documented to return nil if no files match
and an error only if the pattern is invalid. This change
fixes it to work as documented and adds a regression test.
Patch Set 1 #Patch Set 2 : diff -r 849002209017 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 849002209017 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|