~mdw
/
xtoys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xqueryptr.c: Add new program to interrogate the pointer position.
[xtoys]
/
xcatch.in
diff --git
a/xcatch.in
b/xcatch.in
index
5c940f1
..
d6e51d1
100644
(file)
--- a/
xcatch.in
+++ b/
xcatch.in
@@
-404,8
+404,8
@@
def main():
name = '<stdin>'
catcher.watch_file(stdin)
else:
- name = file
- catcher.watch(open(opts.file, 'r'))
+ name =
opts.
file
+ catcher.watch
_file
(open(opts.file, 'r'))
elif len(args) == 0:
name = '<stdin>'
catcher.watch_file(stdin)