shithub: riscv

Download patch

ref: 1759a1746d3629e29c924d70cf6632cfb2c14209
parent: 0de56a9913681c2e76942ca493f70303bb3ef223
author: cinap_lenrek <[email protected]>
date: Sat Jan 12 15:07:23 EST 2019

/sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths (thanks Tobias Heinicke)

--- a/sys/lib/plumb/basic
+++ b/sys/lib/plumb/basic
@@ -56,7 +56,7 @@
 data set	$file
 attr add	addr=$4
 plumb to image
-plumb start page -wij $0 $file
+plumb start page -wij $file!$4 $file
 
 # postscript/pdf/dvi/doc go to page but not over the a plumb port
 # the port is here for reference but is unused