Debian Codegraph @

debian/patches/testdata.patch

raw symbols SCIP
1 Last-Updatescip-debian debian golang-github-paulrosania-go-charset 0.0~git20190326.55c9d7a-1 golang-github-paulrosania-go-charset/patches/`testdata.patch`#Last-Update.: 2018-02-16
2 Forwardedscip-debian debian golang-github-paulrosania-go-charset 0.0~git20190326.55c9d7a-1 golang-github-paulrosania-go-charset/patches/`testdata.patch`#Forwarded.: no
3 Authorscip-debian debian golang-github-paulrosania-go-charset 0.0~git20190326.55c9d7a-1 golang-github-paulrosania-go-charset/patches/`testdata.patch`#Author.: Dmitry Smirnov <[email protected]scip-debian . . . identity/`[email protected]`.>
4 Descriptionscip-debian debian golang-github-paulrosania-go-charset 0.0~git20190326.55c9d7a-1 golang-github-paulrosania-go-charset/patches/`testdata.patch`#Description.: adjust path to data files to fix tests.
5
6 --- a/charset/file.goscip-debian debian golang-github-paulrosania-go-charset 0.0~git20190326.55c9d7a-1 golang-github-paulrosania-go-charset/upstream/`charset/file.go`:
7 +++ b/charset/file.goscip-debian debian golang-github-paulrosania-go-charset 0.0~git20190326.55c9d7a-1 golang-github-paulrosania-go-charset/upstream/`charset/file.go`:
8 @@ -20,9 +20,9 @@
9
10 // CharsetDir gives the location of the default data file directory.
11 // This directory will be used for files with names that have not
12 // been registered with RegisterDataFile.
13 -var CharsetDir = "/usr/local/lib/go-charset/datafiles"
14 +var CharsetDir = "../../datafiles"
15
16 func readFile(name string) (data []byte, err error) {
17 var r io.ReadCloser
18 if open := files[name]; open != nil {