~ubuntu-branches/debian/sid/deborphan/sid

« back to all changes in this revision

Viewing changes to src/pkginfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Carsten Hey, Updated program translations, New documentation translations, Updated documentation translations, David Prévot, Carsten Hey
  • Date: 2010-12-01 20:02:19 UTC
  • Revision ID: james.westby@ubuntu.com-20101201200219-sve87wl904xlsb01
Tags: 1.7.28.1
David Prévot handled most of the translations for this release,
thanks a lot for your great work!

[ Updated program translations ]
* French (Jean-Luc Coulon). Closes: #519482
* Russian (Yuri Kozlov). Closes: #536812
* Italian (Alessandro De Zorzi). Closes: #578768
* Basque (Iñaki Larrañaga Murgoitio). Closes: #604143
* Spanish (Javier Fernandez-Sanguino Peña). Closes: #604414
* German (Helge Kreutzmann). Closes: #604545
* Danish (Joe Hansen). Closes: #605067
* Polish (Robert Luberda). Closes: #605085
* Czech (Miroslav Kure). Closes: #605100
* Portuguese (Pedro Ribeiro). Closes: #605317
* Dutch (Joost van Baal via IRC).

[ New documentation translations ]
* Spanish (Omar Campagne). Closes: #574437
* German (Helge Kreutzmann). Closes: #604848

[ Updated documentation translations ]
* French (David Prévot). Closes: #598047
* Polish (Robert Luberda). Closes: #605085

[ David Prévot ]
* Add Spanish addenda (Omar Campagne). Closes: #598205
* Update French addenda.
* Recode note regarding bug reporting from the French l10n team to UTF-8.
  LP: #352744, Closes: #603907

[ Carsten Hey ]
* Add basic multiarch support. Closes: #592068
* Fix typo in --help output, --guess-interpreters was specified twice.
  Closes: #536813
* Replace a regular expression in deborphan's man page with an equivalent
  shorter one to avoid overlong lines in man pages.
* Remove some fuzziness in Catalan translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
   Copyright (C) 2003, 2004, 2006 Peter Palfrader
4
4
   Copyright (C) 2008, 2009 Carsten Hey
5
5
 
6
 
   $Id: pkginfo.c 763 2009-02-19 11:49:00Z carsten-guest $
 
6
   $Id: pkginfo.c 831 2010-11-27 00:37:24Z carsten $
7
7
 
8
8
   Distributed under the terms of the Artistic License.
9
9
*/
284
284
void
285
285
get_pkg_name(const char *line, pkg_info * package)
286
286
{
287
 
    (void) set_dep(&(package->self), strchr(line, ':') + 1);
 
287
    char *name = strchr(line, ':') + 1;
 
288
 
 
289
    package->self.name = xstrdup(name);
 
290
    package->self.namehash = strhash(name);
288
291
}
289
292
 
290
293
void