~ubuntu-branches/ubuntu/utopic/modules/utopic-proposed

« back to all changes in this revision

Viewing changes to cmdModule.c

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry, Yaroslav O. Halchenko
  • Date: 2013-12-12 06:34:42 UTC
  • Revision ID: package-import@ubuntu.com-20131212063442-520ywmloz3ed4dyd
Tags: 3.2.10-8
[Yaroslav O. Halchenko]
* debian/sh
 - enable init script for zsh. Closes #731974.
* Add support for tcl < 8.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
641
641
                                continue;       /** while **/
642
642
            
643
643
            case TCL_ERROR:     
 
644
#if (TCL_MAJOR_VERSION > 8 || TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION > 5)
644
645
                        errLine = Tcl_GetErrorLine(interp);
645
646
                        Tcl_SetErrorLine(interp, ((linenum-1)-gotPartial) + errLine);
 
647
#else /* before tcl 8.6 */
 
648
                        interp->errorLine = ((linenum-1)-gotPartial) +
 
649
                            interp->errorLine;
 
650
#endif
646
651
                                /* FALLTHROUGH */
647
652
 
648
653
            case TCL_LEVEL0_RETURN: