~ubuntu-branches/ubuntu/oneiric/luatex/oneiric

« back to all changes in this revision

Viewing changes to source/texk/web2c/lib/chartostring.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2009-10-22 02:16:43 UTC
  • mfrom: (1.1.8 upstream) (4.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091022021643-hvoq5boj9y5q92ao
Tags: 0.40.6-1
* new upstream release (add Announce file)
* fix FTBFS due to new poppler version (Closes: #529331)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Written in 1994 by Karl Berry.  Public domain.  */
5
5
 
6
6
#include "config.h"
 
7
#include "lib.h"
7
8
 
8
9
/* This is needed because web2c turns the Pascal construct 'x' into the
9
10
   C character constant 'x', not the string "x". And we need to keep it
13
14
   malloc overhead) here, but it doesn't matter.  */
14
15
 
15
16
string
16
 
chartostring P1C(char, ch)
 
17
chartostring (char ch)
17
18
{
18
19
  string str = (string)xmalloc (2);
19
20
  str[0] = ch;