Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b2762e79482584711c442a04ec132edfadae2ec86466074ef86bee8cfd214ab7
Ticket: af69c6966d8a0a1acfc4bce5e5874b7c5b5b26a1
msgcat: make-manpage-section: ignoring .VS "TIP 412" after .TP
User & Date: oehhar on 2018-05-02 12:29:31
Changes

  1. foundin changed to: "core-8-branch"
  2. icomment:
    Thank you, Francois, for the ticket and spotting the line.
    This is definitively wrong. The line following .TP must contain the title.
    
    So the two commands must be exchanged:
    <verbatim>
    $ fossil diff
    Index: doc/msgcat.n
    ==================================================================
    --- doc/msgcat.n
    +++ doc/msgcat.n
    @@ -126,12 +126,12 @@
     .
     Given several source strings, \fB::msgcat::mcmax\fR returns the length
     of the longest translated string.  This is useful when designing
     localized GUIs, which may require that all buttons, for example, be a
     fixed width (which will be the width of the widest button).
    -.TP
     .VS "TIP 412"
    +.TP
     \fB::msgcat::mcexists\fR ?\fB-exactnamespace\fR? ?\fB-exactlocale\fR? ?\fB-namespace\fR \fInamespace\fR? \fIsrc-string\fR
     .
     Return true, if there is a translation for the given \fIsrc-string\fR.
     .PP
     .RS
    </verbatim>
    
    The issue is in core-8-branch.
    
    When I try to make the html, I get the following error:
    
    <verbatim>
    $ fossil open tcl.fossil core-8-branch
    $ cd unix
    $ ./configure
    $ make html
    using Tcl source directory tcl-core-8-branch
    tcltk-man-html: couldn't find Tk below /home/oehhar/elmicron/tech/tcl/tcl-core-8-branch/..
    make: *** [html] Fehler 1
    </verbatim>
    
    When I try to sync the corrected fossil , I get the error:
    
    <verbatim>
    $ fossil commit
    # Enter a commit message for this check-in. Lines beginning with # are ignored.
    #
    # user: oehhar
    # tags: core-8-branch
    #
    # EDITED     doc/msgcat.n
    #
    # Since no default text editor is set using EDITOR or VISUAL
    # environment variables or the "fossil set editor" command,
    # and because no comment was specified using the "-m" or "-M"
    # command-line options, you will need to enter the comment below.
    # Type "." on a line by itself when you are done:
    Syntax error in msgcat documentation fixed. Ticket [af69c6966d]
    .
    New_Version: 5ccd647de50d42b8c84fff0677a1e8017d2bb262beafceb31621593d5820e607
    [oehhar@rose tcl-core-8-branch]$ fossil sync
    Sync with http://[email protected]/tcl
    *** buffer overflow detected ***: fossil terminated
    ======= Backtrace: =========
    [0x731531]
    [0x779d32]
    [0x779cae]
    [0x4e076c]
    [0x4cf2b9]
    [0x456f92]
    [0x4e5413]
    [0x4c2b47]
    [0x405aa2]
    [0x7165b6]
    [0x7167aa]
    [0x4061c9]
    ======= Memory map: ========
    00400000-009dc000 r-xp 00000000 fd:00 135915                             /usr/local/bin/fossil
    00bdb000-00bf6000 rw-p 005db000 fd:00 135915                             /usr/local/bin/fossil
    00bf6000-00c01000 rw-p 00000000 00:00 0 
    00cf2000-01950000 rw-p 00000000 00:00 0                                  [heap]
    3ac5800000-3ac5820000 r-xp 00000000 fd:00 133643                         /lib64/ld-2.12.so
    3ac5820000-3ac5a20000 ---p 00020000 fd:00 133643                         /lib64/ld-2.12.so
    3ac5a20000-3ac5a21000 r--p 00020000 fd:00 133643                         /lib64/ld-2.12.so
    3ac5a21000-3ac5a22000 rw-p 00021000 fd:00 133643                         /lib64/ld-2.12.so
    3ac5a22000-3ac5a23000 rw-p 00000000 00:00 0 
    3ac5c00000-3ac5d8a000 r-xp 00000000 fd:00 133796                         /lib64/libc-2.12.so
    3ac5d8a000-3ac5f8a000 ---p 0018a000 fd:00 133796                         /lib64/libc-2.12.so
    3ac5f8a000-3ac5f8e000 r--p 0018a000 fd:00 133796                         /lib64/libc-2.12.so
    3ac5f8e000-3ac5f90000 rw-p 0018e000 fd:00 133796                         /lib64/libc-2.12.so
    3ac5f90000-3ac5f94000 rw-p 00000000 00:00 0 
    3ac8000000-3ac8016000 r-xp 00000000 fd:00 156389                         /lib64/libresolv-2.12.so
    3ac8016000-3ac8216000 ---p 00016000 fd:00 156389                         /lib64/libresolv-2.12.so
    3ac8216000-3ac8217000 r--p 00016000 fd:00 156389                         /lib64/libresolv-2.12.so
    3ac8217000-3ac8218000 rw-p 00017000 fd:00 156389                         /lib64/libresolv-2.12.so
    3ac8218000-3ac821a000 rw-p 00000000 00:00 0 
    7fcc8417c000-7fcc84181000 r-xp 00000000 fd:00 151078                     /lib64/libnss_dns-2.12.so
    7fcc84181000-7fcc84380000 ---p 00005000 fd:00 151078                     /lib64/libnss_dns-2.12.so
    7fcc84380000-7fcc84381000 r--p 00004000 fd:00 151078                     /lib64/libnss_dns-2.12.so
    7fcc84381000-7fcc84382000 rw-p 00005000 fd:00 151078                     /lib64/libnss_dns-2.12.so
    7fcc84382000-7fcc84482000 rw-p 00000000 00:00 0 
    7fcc84482000-7fcc8448f000 r-xp 00000000 fd:00 151248                     /lib64/libnss_files-2.12.so
    7fcc8448f000-7fcc8468e000 ---p 0000d000 fd:00 151248                     /lib64/libnss_files-2.12.so
    7fcc8468e000-7fcc8468f000 r--p 0000c000 fd:00 151248                     /lib64/libnss_files-2.12.so
    7fcc8468f000-7fcc84690000 rw-p 0000d000 fd:00 151248                     /lib64/libnss_files-2.12.so
    7fcc846a0000-7fcc846cb000 rw-p 00000000 00:00 0 
    7ffc3dadf000-7ffc3daf4000 rw-p 00000000 00:00 0                          [stack]
    7ffc3dbfd000-7ffc3dbfe000 r-xp 00000000 00:00 0                          [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
    Abgebrochen: 1   Artifacts sent: 2  received: 103
    </verbatim>
    
    So I try to get it in the repository on other ways.
    
    Sorry,
    Harald
    
  3. login: "oehhar"
  4. mimetype: "text/x-fossil-wiki"
  5. username: "oehhar"