RAPL

Check-in [9cb053360b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:typo fix
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9cb053360be92cd5dc29cf0b55501002a98fc294
User & Date: arnulf 2012-02-22 20:37:20
Context
2012-02-22
20:39
typo fix check-in: 3c29c50c54 user: arnulf tags: trunk
20:37
typo fix check-in: 9cb053360b user: arnulf tags: trunk
20:32
fixes check-in: 3025e9fc59 user: arnulf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to rapl_pkg_listcmd.js.

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  /* ==================== command lappend ===================================== */
  interp.registerCommand("::lappend", function (interp, args) {
    var list_obj_ptr;
    var shared;
    var i;

    if (args.length < 2) {
      interp.rongNumArgs(1, args, "varName ?value value ...?");
      return interp.ERROR;
    }
    list_obj_ptr = interp.variable_obj_type.getVariable(args[1], interp.FUNCTION_FLAGS_UNSHARED);
    if (!list_obj_ptr) {
      /* Create the list if it does not exists */
      list_obj_ptr = interp.list_obj_type.newListObj(null, 0);
      if (interp.variable_obj_type.setVariable(argis[1], list_obj_ptr) != interp.OK) {







|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  /* ==================== command lappend ===================================== */
  interp.registerCommand("::lappend", function (interp, args) {
    var list_obj_ptr;
    var shared;
    var i;

    if (args.length < 2) {
      interp.wrongNumArgs(1, args, "varName ?value value ...?");
      return interp.ERROR;
    }
    list_obj_ptr = interp.variable_obj_type.getVariable(args[1], interp.FUNCTION_FLAGS_UNSHARED);
    if (!list_obj_ptr) {
      /* Create the list if it does not exists */
      list_obj_ptr = interp.list_obj_type.newListObj(null, 0);
      if (interp.variable_obj_type.setVariable(argis[1], list_obj_ptr) != interp.OK) {