~ubuntu-branches/ubuntu/quantal/pgbouncer/quantal-security

« back to all changes in this revision

Viewing changes to lib/usual/cfparser.c

  • Committer: Package Import Robot
  • Author(s): Christoph Berg, Peter Eisentraut, Christoph Berg
  • Date: 2012-01-27 17:40:22 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120127174022-zrp5nr3h6lwi5l1e
Tags: 1.5-1
[ Peter Eisentraut ]
* Update watch file to allow .tar.gz in addition to .tgz
* Remove obsolete README.source and repack support in watch file

[ Christoph Berg ]
* New upstream release.
* Use start-stop-daemon for stopping the daemon.  Closes: #641568.
* Use pgbouncer -R to restart in place, thanks Cody Cutrer for the patch.
  Closes: #657204.
* Update URL in README.Debian.  Closes: #655283.

Show diffs side-by-side

added added

removed removed

Lines of Context:
416
416
                return false;
417
417
        memcpy(tmp, home, home_len);
418
418
        memcpy(tmp + home_len, value + usr_len + 1, v_len - usr_len - 1);
419
 
        tmp[v_len - usr_len + home_len] = 0;
 
419
        tmp[v_len - 1 - usr_len + home_len] = 0;
420
420
 
421
421
        log_debug("expanded '%s' -> '%s'", value, tmp);
422
422