[Originally reported to Sun as Solaris bug id #4637857] "xmodmap" prints line numbers which are one too low in error messages: $ echo foo >bar $ xmodmap bar xmodmap: unknown command on line bar:0 xmodmap: 1 error encountered, aborting. It obviously starts line number with 0 internally but should start with 1.
Created attachment 1190 [details] [review] Fix xmodmap line number output (written by Sam Lau of Sun X group)
Fix committed to Xorg head on 30-Oct-2004: /cvs/xorg/xc/programs/xmodmap/handle.c,v <-- handle.c new revision: 1.3; previous revision: 1.2 /cvs/xorg/xc/programs/xmodmap/pf.c,v <-- pf.c new revision: 1.3; previous revision: 1.2
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.