diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-05-13 08:42:00 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-05-13 08:42:00 -0700 |
commit | d332f8a9b5d4437e7d8d0946bb03c13d7fe8a236 (patch) | |
tree | cc59bc8ba224bd0072f505e9fc06aaa520750f38 /sys/src/ape/lib/ap/stdio/sprintf.c | |
parent | 1c4c82277ea368739af6a4666ae530bbcfae71cb (diff) |
fix yacc crash with absolute paths
When passing an absolute file path to yacc, we would skip
initializing inpath, leaving it null. This would cause Bopen
to die. We would similarly fail to report an error if we tried
to get the current working directory, and then die when
constructing inpath.
This fixes both cases.
Diffstat (limited to 'sys/src/ape/lib/ap/stdio/sprintf.c')
0 files changed, 0 insertions, 0 deletions