diff --git a/cmd/wuffs/release.go b/cmd/wuffs/release.go index 2af7abba..1a3a9a2b 100644 --- a/cmd/wuffs/release.go +++ b/cmd/wuffs/release.go @@ -67,7 +67,7 @@ func genreleaseLang(wuffsRoot string, revision string, v cf.Version, lang string return "", nil, err } - base := "unsupported-snapshot" + base := "wuffs-unsupported-snapshot" if v.Major != 0 || v.Minor != 0 { base = fmt.Sprintf("wuffs-v%d.%d", v.Major, v.Minor) } diff --git a/example/crc32/crc32.cc b/example/crc32/crc32.cc index ed13ed3f..17a343e5 100644 --- a/example/crc32/crc32.cc +++ b/example/crc32/crc32.cc @@ -47,7 +47,7 @@ for a C++ compiler $CXX, such as clang++ or g++. // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C++ file. -#include "../../release/c/unsupported-snapshot.h" +#include "../../release/c/wuffs-unsupported-snapshot.h" #ifndef SRC_BUFFER_SIZE #define SRC_BUFFER_SIZE (32 * 1024) diff --git a/example/gifplayer/gifplayer.c b/example/gifplayer/gifplayer.c index eca04204..43982299 100644 --- a/example/gifplayer/gifplayer.c +++ b/example/gifplayer/gifplayer.c @@ -64,7 +64,7 @@ uint64_t micros_since_start(struct timespec* now) { // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../release/c/unsupported-snapshot.h" +#include "../../release/c/wuffs-unsupported-snapshot.h" // Limit the input GIF image to (64 MiB - 1 byte) compressed and 4096 × 4096 // pixels uncompressed. This is a limitation of this example program (which diff --git a/example/library/library.c b/example/library/library.c index 29f117ed..a8929c76 100644 --- a/example/library/library.c +++ b/example/library/library.c @@ -32,7 +32,7 @@ for a C compiler $CC, such as clang or gcc. #include -#include "wuffs/release/c/unsupported-snapshot.h" +#include "wuffs/release/c/wuffs-unsupported-snapshot.h" #define DST_BUFFER_SIZE (1024 * 1024) diff --git a/example/zcat/zcat.c b/example/zcat/zcat.c index 89d50f98..ec09f501 100644 --- a/example/zcat/zcat.c +++ b/example/zcat/zcat.c @@ -49,7 +49,7 @@ for a C compiler $CC, such as clang or gcc. // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../release/c/unsupported-snapshot.h" +#include "../../release/c/wuffs-unsupported-snapshot.h" #ifdef __linux__ #include diff --git a/fuzz/c/std/gif_fuzzer.c b/fuzz/c/std/gif_fuzzer.c index 76f53d2e..d5a26e47 100644 --- a/fuzz/c/std/gif_fuzzer.c +++ b/fuzz/c/std/gif_fuzzer.c @@ -43,7 +43,7 @@ It should print "PASS", amongst other information, and exit(0). // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../fuzzlib/fuzzlib.c" const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) { diff --git a/fuzz/c/std/zlib_fuzzer.c b/fuzz/c/std/zlib_fuzzer.c index de7fc623..adce8ebd 100644 --- a/fuzz/c/std/zlib_fuzzer.c +++ b/fuzz/c/std/zlib_fuzzer.c @@ -43,7 +43,7 @@ It should print "PASS", amongst other information, and exit(0). // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../fuzzlib/fuzzlib.c" const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) { diff --git a/release/c/unsupported-snapshot.h b/release/c/wuffs-unsupported-snapshot.h similarity index 100% rename from release/c/unsupported-snapshot.h rename to release/c/wuffs-unsupported-snapshot.h diff --git a/script/bench-c-deflate-fragmentation.c b/script/bench-c-deflate-fragmentation.c index 4c3a7f3a..8c0ba5c2 100644 --- a/script/bench-c-deflate-fragmentation.c +++ b/script/bench-c-deflate-fragmentation.c @@ -69,7 +69,7 @@ // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../release/c/unsupported-snapshot.h" +#include "../release/c/wuffs-unsupported-snapshot.h" // The order matters here. Clang also defines "__GNUC__". #if defined(__clang__) diff --git a/test/c/std/adler32.c b/test/c/std/adler32.c index 1b8fe9ba..60b14563 100644 --- a/test/c/std/adler32.c +++ b/test/c/std/adler32.c @@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" #ifdef WUFFS_MIMIC #include "../mimiclib/deflate-gzip-zlib.c" diff --git a/test/c/std/crc32.c b/test/c/std/crc32.c index 30f1db00..ae117786 100644 --- a/test/c/std/crc32.c +++ b/test/c/std/crc32.c @@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" #ifdef WUFFS_MIMIC #include "../mimiclib/deflate-gzip-zlib.c" diff --git a/test/c/std/deflate.c b/test/c/std/deflate.c index 431f8319..17453466 100644 --- a/test/c/std/deflate.c +++ b/test/c/std/deflate.c @@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" #ifdef WUFFS_MIMIC #include "../mimiclib/deflate-gzip-zlib.c" diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 8c2cd606..cad7d158 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -60,7 +60,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" #ifdef WUFFS_MIMIC #include "../mimiclib/gif.c" diff --git a/test/c/std/gzip.c b/test/c/std/gzip.c index 83b790a5..95e336a6 100644 --- a/test/c/std/gzip.c +++ b/test/c/std/gzip.c @@ -61,7 +61,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" #ifdef WUFFS_MIMIC #include "../mimiclib/deflate-gzip-zlib.c" diff --git a/test/c/std/lzw.c b/test/c/std/lzw.c index d847fd92..6c5beef5 100644 --- a/test/c/std/lzw.c +++ b/test/c/std/lzw.c @@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" // ---------------- LZW Tests diff --git a/test/c/std/zlib.c b/test/c/std/zlib.c index 4394e2fb..1968db38 100644 --- a/test/c/std/zlib.c +++ b/test/c/std/zlib.c @@ -61,7 +61,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the // If building this program in an environment that doesn't easily accomodate // relative includes, you can use the script/inline-c-relative-includes.go // program to generate a stand-alone C file. -#include "../../../release/c/unsupported-snapshot.h" +#include "../../../release/c/wuffs-unsupported-snapshot.h" #include "../testlib/testlib.c" #ifdef WUFFS_MIMIC #include "../mimiclib/deflate-gzip-zlib.c"