876907a530
Before applying this patch the following will fail to open ed
in the '/tmp/s p a c e' folder:
<snip>
% mkdir '/tmp/s p a c e'
% window -cd '/tmp/s p a c e' ed
!pwd
/tmp/s p a c e
!
q
<snap>
After applying the patch the above sequence works as expected,
opening ed in the '/tmp/s p a c e' folder, printing the present
working directory, and quitting ed.
The root cause was a faulty computation of the pointer `s`,
being off by one, leading to any arguments after the
directory path to be skipped.
This regression was introduced in revision:
•
|
||
---|---|---|
.. | ||
dat.h | ||
data.c | ||
fns.h | ||
fsys.c | ||
mkfile | ||
rio.c | ||
scrl.c | ||
time.c | ||
util.c | ||
wctl.c | ||
wind.c | ||
xfid.c |