~ubuntu-branches/debian/sid/libapt-pkg-perl/sid

« back to all changes in this revision

Viewing changes to utils.c

  • Committer: Bazaar Package Importer
  • Author(s): Brendan O'Dea
  • Date: 2004-10-14 11:36:07 UTC
  • mfrom: (1.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041014113607-czp4t2i26cqid10q
Tags: 0.1.13
* Fix ordering of dh_fixperms/dh_strip such that strip works.
* Fix examples/apt-version argument parsing (closes: #276254).
* Remove requirement for apt-pkg/deblistparser.h to allow for
  building on rpm-based systems.  Allow for rpm in t/01_system.t .

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: utils.c,v 1.1 2000/10/03 05:14:43 bod Exp $ */
 
1
/* $Id: utils.c,v 1.2 2002/07/31 05:20:41 bod Exp $ */
2
2
 
 
3
#define PERL_NO_GET_CONTEXT
3
4
#include "EXTERN.h"
4
5
#include "perl.h"
5
6
 
6
7
#include <stdarg.h>
 
8
#include "utils.h"
7
9
 
8
10
/*
9
11
 * Parse an array reference in a similar manner to python's ParseTuple
34
36
 * any).
35
37
 */
36
38
 
37
 
char const *parse_avref(SV **p_avref, char const *fmt, ...)
 
39
char const *parse_avref(pTHX_ SV **p_avref, char const *fmt, ...)
38
40
{
39
41
    va_list ap;
40
42
    char const *err = 0;