~ubuntu-branches/ubuntu/oneiric/popt/oneiric

« back to all changes in this revision

Viewing changes to poptconfig.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Martin
  • Date: 2010-05-13 05:14:50 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100513051450-1qefp4e2if4hbkri
Tags: 1.16-1
* New upstream release (Closes: #581439)
* Switch to dpkg-source 3.0 (quilt) format
* Add a watch file.
* Update to standards version 3.8.4 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
321
321
        /* Append remaining text to the interpolated file option text. */
322
322
        if (*se != '\0') {
323
323
            size_t nse = strlen(se) + 1;
324
 
            b = realloc(b, (nb + nse));
 
324
            if ((b = realloc(b, (nb + nse))) == NULL)   /* XXX can't happen */
 
325
                goto exit;
325
326
            (void) stpcpy( stpcpy(&b[nb-1], " "), se);
326
327
            nb += nse;
327
328
        }