Index: htags.c
===================================================================
RCS file: /sources/global/global/htags/htags.c,v
retrieving revision 1.235
diff -c -r1.235 htags.c
*** htags.c	2 Mar 2020 00:53:49 -0000	1.235
--- htags.c	8 May 2024 07:36:01 -0000
***************
*** 47,52 ****
--- 47,53 ----
  #include "anchor.h"
  #include "cache.h"
  #include "common.h"
+ #include "char.h"
  #include "htags.h"
  #include "incop.h"
  #include "path2url.h"
***************
*** 1333,1339 ****
  		*/
  		if (arg_dbpath[0]) {
  			strbuf_putc(sb, ' ');
! 			strbuf_puts(sb, arg_dbpath);
  		}
  		if (system(strbuf_value(sb)))
  			die("cannot execute gtags(1) command.");
--- 1334,1340 ----
  		*/
  		if (arg_dbpath[0]) {
  			strbuf_putc(sb, ' ');
! 			strbuf_puts(sb, quote_shell(arg_dbpath));
  		}
  		if (system(strbuf_value(sb)))
  			die("cannot execute gtags(1) command.");
