Put "std" in the "gen/c/std/gif.c" filename.

This commit is contained in:
Nigel Tao committed 2017-06-16 11:32:39 +10:00
1 parent dec40addf5
commit 1c2ccee966
6 files changed
+15 -17

No files matched your search

+2 -2
View File
@@ -61,8 +61,8 @@ func findPuffsRoot() (string, error) {
return "", errors.New("could not find Puffs root directory")
}
func listDir(dirname string, returnSubdirs bool) (filenames []string, dirnames []string, err error) {
f, err := os.Open(dirname)
func listDir(puffsRoot string, dirname string, returnSubdirs bool) (filenames []string, dirnames []string, err error) {
f, err := os.Open(filepath.Join(puffsRoot, filepath.FromSlash(dirname)))
if err != nil {
return nil, nil, err
}