~ubuntu-branches/ubuntu/raring/ncbi-tools6/raring

« back to all changes in this revision

Viewing changes to vibrant/document.c

  • Committer: Package Import Robot
  • Author(s): Aaron M. Ucko
  • Date: 2011-09-05 18:55:02 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: package-import@ubuntu.com-20110905185502-iuvmoe65ytljhckn
Tags: 6.1.20110713-1
* New upstream release.
* debian/*.symbols: update accordingly.
* make/makeshlb.unx: link libcn3dOGL.so against -lm for sqrt.
* doc/man/*.1: update for new release.
* debian/rules:
  - (VIB): add asnmacro, as upstream takes care to publish binaries thereof.
  - Retire obsolete multiarch-unaware checks for libpthread.
  - Fully modernize Debhelper usage; in particular, transition to overrides.
* debian/compat: advance to 9 per rules modernization.
* debian/ncbi-tools-bin.install: add asnmacro.
* make/makenet.unx: link asnmacro only against libraries it directly needs.
* doc/man/asnmacro.1: give asnmacro a man page.
* doc/man/Psequin.1: list it in SEE ALSO.
* network/id1arch/idfetch.c: revert redundant change (from #295110).
* Convert to multiarch.
  - debian/rules: Install libraries (and ncbithr.o) to multiarch directories.
  - debian/lib*.install: match multiarch library paths.
  - debian/control:
    + Build-Depends: debhelper (>= 8.1.3~), implying a recent dpkg-dev.
    + Set Multi-Arch: as appropriate across the board, and specify
      Pre-Depends: ${misc:Pre-Depends} for runtime libraries.
* debian/*.lintian-overrides: drop leading slashes for Lintian 2.5.x.
* debian/control: Standards-Version: 3.9.2 (already compliant).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*   
30
30
* Version Creation Date: 4/12/93
31
31
*
32
 
* $Revision: 6.23 $
 
32
* $Revision: 6.25 $
33
33
*
34
34
* File Description:  Converts fielded text into final report in a document
35
35
*
250
250
 
251
251
{
252
252
  Char     ch;
253
 
  Int2     i;
 
253
  Int4     i;
254
254
  Boolean  isjapanese;
255
 
  Int2     j;
256
 
  Int2     wid;
 
255
  Int4     j;
 
256
  Int4     wid;
257
257
 
258
258
  isjapanese = IsJapanese ();
259
259
  if (isjapanese) {
487
487
        wrap = FALSE;
488
488
        ch = text [start];
489
489
        if (ch != '\0' && ch != '\n' && ch != '\r' && (ch != '\t' || tabStops)) {
490
 
          maxwid = INT2_MAX;
 
490
          /* note - maxwid has to be less than INT2_MAX less the width of one character, or it will roll to negative */
 
491
          maxwid = INT2_MAX - 16;
491
492
          if (col < numCols) {
492
493
            if (byPixels) {
493
494
              width = colFmt [col].pixWidth;