~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/tests/libsvn_subr/skel-test.c

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
  for (i = 0; i < 256; i++)
217
217
    if (! skel_is_space( (apr_byte_t)i)
218
218
        && ! skel_is_paren( (apr_byte_t)i))
219
 
      name[pos++] = i;
 
219
      name[pos++] = (char)i;
220
220
 
221
221
  *len_p = pos;
222
222
  return name;
375
375
      {
376
376
        char buf[1];
377
377
 
378
 
        buf[0] = i;
 
378
        buf[0] = (char)i;
379
379
        SVN_ERR(try_explicit_length(buf, 1, 1, pool));
380
380
      }
381
381
  }
386
386
    char data[256];
387
387
 
388
388
    for (i = 0; i < 256; i++)
389
 
      data[i] = i;
 
389
      data[i] = (char)i;
390
390
 
391
391
    SVN_ERR(try_explicit_length(data, 256, 256, pool));
392
392
  }
592
592
                      svn_skel_t *child;
593
593
                      char buf[1];
594
594
 
595
 
                      buf[0] = atom_byte;
 
595
                      buf[0] = (char)atom_byte;
596
596
 
597
597
                      put_list_start(str,  (apr_byte_t)sep, sep_count);
598
598
                      for (i = 0; i < list_len; i++)
619
619
                    char data[256];
620
620
 
621
621
                    for (i = 0; i < 256; i++)
622
 
                      data[i] = i;
 
622
                      data[i] = (char)i;
623
623
 
624
624
                    put_list_start(str,  (apr_byte_t)sep, sep_count);
625
625
                    for (i = 0; i < list_len; i++)
797
797
    for (byte = 0; byte < 256; byte++)
798
798
      if (skel_is_name( (apr_byte_t)byte))
799
799
        {
800
 
          char buf = byte;
 
800
          char buf = (char)byte;
801
801
          add(build_atom(1, &buf, pool), list);
802
802
        }
803
803
 
858
858
            val = i * 10 + j;
859
859
            for (k = 0; k < sizeof(buf); k++)
860
860
              {
861
 
                buf[k] = val;
 
861
                buf[k] = (char)val;
862
862
                val += j;
863
863
              }
864
864
 
873
873
 
874
874
    if (! skel_equal(top, reparsed))
875
875
      return fail(pool, "failed to reparse list of lists");
 
876
 
 
877
    reparsed = svn_skel__dup(reparsed, TRUE, pool);
 
878
 
 
879
    if (! skel_equal(top, reparsed))
 
880
      return fail(pool, "failed to dup list of lists");
876
881
  }
877
882
 
878
883
  return SVN_NO_ERROR;