~ubuntu-branches/ubuntu/wily/dctrl-tools/wily

« back to all changes in this revision

Viewing changes to lib/para_pool.h

  • Committer: Package Import Robot
  • Author(s): Antti-Juhani Kaijanaho, David Prévot, Antti-Juhani Kaijanaho
  • Date: 2013-05-07 23:16:00 UTC
  • mfrom: (17.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130507231600-qb8annjvc7l32oak
Tags: 2.23
[ David Prévot ]

* Fix charset in pt_BR program translation.

[ Antti-Juhani Kaijanaho ]

* Merge 2.22.1 and 2.22.2.
* Add a test case (tests/0021.{in,out,sh}) to verify that tbl-dctrl
  handles UTF-8 correctly.
   - As it requires the C.UTF-8 locale, build-depend on libc-bin >= 2.13
* Since mblen is unnecessarily marked warn_unused_result with
  _FORTIFY_SOURCE, (see bug #674917), causing spurious warnings upon
  mblen initialization calls, switch to using mbrlen in tbl-dctrl.c (a
  good idea in any case).
* Add -Wextra to non-package builds (and clean up the resulting warnings).
* lib/msg.c (msg_primitive): Write the period before the newline, not after!
* tests/0022.{out,err,fails}: New test case, for grep-dctrl
  --ignore-parse-errors
* tester.sh: Handle missing diffs gracefully.
* lib/fsaf.c and others: Remove mmap support (recognize but ignore --mmap).
  It was only complicating matters without giving much benefit.
* lib/fsaf.[ch]: Make fsaf_read an inline function (50 % speedup in my
  tests.)
* debian/control (Build-Depends): Remove versioned gcc
  Thanks to Jakub Wilk for pointing out the version spec was broken.
  It also turns out to be obsolete.
* Some code cleanup.
* debian/control: Add "Multi-Arch: foreign"
  Closes: 693474 (Add multiarch metadata)
  Reported by Wookey <wookey@wookware.org>.
* po/fi.po: Fix charset issue discovered by Jakub Wilk
  and reported by David Prévot, and delete obsolete entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  dctrl-tools - Debian control file inspection tools
2
 
    Copyright © 2004 Antti-Juhani Kaijanaho
 
2
    Copyright © 2004, 2012 Antti-Juhani Kaijanaho
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
65
65
 
66
66
// calls para_init
67
67
static inline
68
 
para_t * new_para(para_pool_t * ppo, para_parser_t * ppa)
 
68
para_t * new_para(para_pool_t * ppo __attribute__((unused)), para_parser_t * ppa)
69
69
{
70
70
        para_t * rv = 0;
71
71
/*