Hi

Excuse my batch mails on TH1 :-) And although they say that TH1 is the
scripting language for web pages ... [http://en.wikipedia.org/wiki/TH1]
TH1 is great tool for other tasks. And as I play with TH1 in these days
my scripts find some things. New one

SYNOPSIS

  % ./fossil version
  This is fossil version 1.28 [da90bbe591] 2014-01-04 16:17:47 UTC
  % ./fossil test-th-eval 'set v 1; unset v; info exists v'
  1

We expect 0. No issues with unset

  % ./fossil test-th-eval 'set v 1; unset v; expr $v+0'
  TH_ERROR: no such variable: v

It seems this was introduced with Th_ExistsVar()
http://fossil-scm.org/index.html/artifact/a561c58c237b3eb43eaf55e6f9cc6a9b8a26e5d1?ln=1154-1159
(check-in http://fossil-scm.org/index.html/info/4f8c8975bc). As I could
see Th_ExistsVar() does miss a test for pValue->zData as Th_GetVar() does
http://fossil-scm.org/index.html/artifact/a561c58c237b3eb43eaf55e6f9cc6a9b8a26e5d1?ln=1142-1149.
Right? Could you, please, fix that?

Thanks for Fossil and TH1.

Sergei
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to