Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

Incompatible date of binaries for macOS #35

Closed
ivankravets opened this issue Oct 19, 2018 · 5 comments
Closed

Incompatible date of binaries for macOS #35

ivankravets opened this issue Oct 19, 2018 · 5 comments
Assignees
Labels

Comments

@ivankravets
Copy link

Hi,

I've just downloaded the latest release 0.10.0-9-20181016-1725 for macOS. However, inside all files are dated by July 24, 2018. Is this OK?

Also, I see that new version does not understand double braces program {{$SOURCE}}.

Thanks!

@ilg-ul
Copy link
Contributor

ilg-ul commented Oct 19, 2018

inside all files are dated by July 24, 2018. Is this OK?

oops! no, it is not ok, I'll rebuild this package.

I see that new version does not understand double braces program {{$SOURCE}}

could you please elaborate?

@ilg-ul ilg-ul self-assigned this Oct 19, 2018
@ilg-ul ilg-ul added the bug label Oct 19, 2018
@ivankravets
Copy link
Author

could you please elaborate?

Please ping me here when a new version will be available. Maybe, this issue is already fixed.

@ilg-ul
Copy link
Contributor

ilg-ul commented Oct 20, 2018

@ivankravets
Copy link
Author

ivankravets commented Oct 20, 2018

Thanks, binaries look updated.

The issue with {Curly-Braces} still persists. The latest working version is 0.10.0-6-20180112. We use it in production.

See docs and "24.4 Tcl Quoting Operators" => http://openocd.org/doc/html/Tcl-Crash-Course.html

{curly-braces} can be nested, single quotes can not. {{{this is nested 3 times}}}

We use {curly-braces} to escape a path which can contain a space. A few examples

  • program {path/contains/some space} - works with the latest release
  • program {path/contains/some space} - does not work with <= 0.10.0-6
  • program {{path/contains/some space}} - works with <= 0.10.0-6
  • program {path/contains/some space} - works with the latest release.

Who is a good expert in Tcl? I don't know which behaviour is valid :( Following the official docs, we can use multiple brances without a risk. There is online Tcl compiler, you can try to play with it https://www.tutorialspoint.com/execute_tcl_online.php

set testStr {hello {Tcl} world}
puts $testStr

which produces

hello {Tcl} world

Also see [6] in http://www.tcl.tk/man/tcl8.5/TclCmd/Tcl.htm

@ilg-ul
Copy link
Contributor

ilg-ul commented Oct 20, 2018

ah, tcl... I'm afraid I can't be of much help.

openocd uses jimtcl as a submodule, and I checked, my latest release points to a relatively recent commit of jimtcl (Aug 18).

I suggest you report the problem to the jimtcl project.

@ilg-ul ilg-ul closed this as completed Oct 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants