CVS commit: [netbsd-10] src/external/mit/ctwm/libexec

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Wed May  6 17:39:36 UTC 2026

Modified Files:
	src/external/mit/ctwm/libexec [netbsd-10]: ctwm_app_menu

Log Message:
Pull up following revision(s) (requested by nia in ticket #1253):

	external/mit/ctwm/libexec/ctwm_app_menu: revision 1.7

ctwm_app_menu: Rewrite largely in awk for ~20-100x speedup.

Previously took ~2.5sec on my laptop, now 0.03sec.
Previously took ~10sec on a wiiu, now ~0.5sec.

Output is meant to be byte-for-byte identical, except possibly in
cases that could have screwed up ctwm by quoting shenanigans which
are now escaped.  (I hope the escape sequences work, didn't actually
check how ctwm interprets them.)  Can maybe support Exec line with
`"' in them by deleting some code (marked XXX) but I didn't test that
it actually works that way.

PR bin/59958: ctwm: long delay during ctwm_app_menu


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.2.1 src/external/mit/ctwm/libexec/ctwm_app_menu

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.