# std/zig: handle underscore in kernel version · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0741505d6d4aae509160aaef9100ef1857241ef5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0741505d6d4aae509160aaef9100ef1857241ef5

Requested commit: 0741505d6d4aae509160aaef9100ef1857241ef5

Commit: 0741505d6d4aae509160aaef9100ef1857241ef5

Tree: e558683c08737a7084daf5ebf77305c60e90e260

Author: Isaac Freund

Committer: Andrew Kelley

## Message

```
std/zig: handle underscore in kernel version

On some distros (e.g. Void Linux) the release field of the tsname
struct may contain an underscore followed by a revision number at the
end. (e.g. 5.8.12_2).

```

## Parents

- [dbc11be038ddb7b9a04535d069a9ee4001f91b51](https://git.cafe/gitcafe/zig/commit/dbc11be038ddb7b9a04535d069a9ee4001f91b51?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0741505d6d4aae509160aaef9100ef1857241ef5?format=markdown)
