tallow _ - / in header file names - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e50b313e64aedca5b2640b92d31bdf9bfccd4b53
(DIR) parent 40227f1f68cfee2581725b55ff63bca255cb767b
(HTM) Author: rsc <devnull@localhost>
Date: Wed, 5 Jul 2006 17:12:57 +0000
allow _ - / in header file names
Diffstat:
M plumb/basic | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/plumb/basic b/plumb/basic
t@@ -87,7 +87,7 @@ plumb client $editor
# .h files are looked up in /usr/include and passed to edit
type is text
-data matches '([a-zA-Z¡-0-9]+\.h)('$addr')?'
+data matches '([a-zA-Z¡-0-9/_\-]+\.h)('$addr')?'
arg isfile /usr/include/$1
data set $file
attr add addr=$3
t@@ -96,7 +96,7 @@ plumb client $editor
# .h files are looked up in /usr/local/include and passed to edit
type is text
-data matches '([a-zA-Z¡-0-9]+\.h)('$addr')?'
+data matches '([a-zA-Z¡-0-9/_\-]+\.h)('$addr')?'
arg isfile /usr/local/include/$1
data set $file
attr add addr=$3
t@@ -105,7 +105,7 @@ plumb client $editor
# .h files are looked up in $plan9/include and passed to edit
type is text
-data matches '([a-zA-Z¡-0-9]+\.h)('$addr')?'
+data matches '([a-zA-Z¡-0-9/_\-]+\.h)('$addr')?'
arg isfile $plan9/include/$1
data set $file
attr add addr=$3
t@@ -114,7 +114,7 @@ plumb client $editor
# .m files are looked up in /sys/module and passed to edit
type is text
-data matches '([a-zA-Z¡-0-9]+\.m)('$addr')?'
+data matches '([a-zA-Z¡-0-9/_\-]+\.m)('$addr')?'
arg isfile /sys/module/$1
data set $file
attr add addr=$3