diff options
| author | Josh Stone <jistone@redhat.com> | 2019-01-15 15:14:17 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-01-15 15:14:17 -0800 |
| commit | 9430423cab6909792fb1b3a850f1c3c8974a5111 (patch) | |
| tree | 4ab990bc3f8e682449ac5da3b6b6069dd0b6b124 /src/librustdoc/html/static/source-script.js | |
| parent | e2f221c75932de7a29845c8d6f1f73536ad00c41 (diff) | |
| download | rust-9430423cab6909792fb1b3a850f1c3c8974a5111.tar.gz rust-9430423cab6909792fb1b3a850f1c3c8974a5111.zip | |
[rust-gdb] relax the GDB version regex
The pretty-printer script is checking `gdb.VERSION` to see if it's at least 8.1 for some features. With `re.match`, it will only find the version at the beginning of that string, but in Fedora the string is something like "Fedora 8.2-5.fc29". Using `re.search` instead will find the first location that matches anywhere, so it will find my 8.2.
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions
