~ubuntu-branches/ubuntu/wily/man-db/wily-proposed

« back to all changes in this revision

Viewing changes to gnulib/lib/getdelim.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-24 11:34:02 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20130624113402-6xdn53l2p9qu8yus
Tags: 2.6.4-1
* New upstream release:
  - Document default section list in manual pages (closes: #611007).
  - Quieten most warnings from compiling Gnulib (closes: #668429).
  - The MANLESS environment variable is now treated as if it were a
    default value for the -r option to man: occurrences of the text
    "$MAN_PN" are expanded, and explicitly using the -r option overrides
    the default (closes: #690831).
* Use 'set -e' rather than '#! /bin/sh -e' in maintainer scripts.
* Remove maintainer script support for direct upgrades from pre-etch
  (three releases before current stable).
* Breaks/Replaces manpages-zh (<< 1.5.2-1.1); man-db now ships zh_CN
  translations formerly included there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* getdelim.c --- Implementation of replacement getdelim function.
2
 
   Copyright (C) 1994, 1996-1998, 2001, 2003, 2005-2012 Free Software
 
2
   Copyright (C) 1994, 1996-1998, 2001, 2003, 2005-2013 Free Software
3
3
   Foundation, Inc.
4
4
 
5
5
   This program is free software; you can redistribute it and/or
17
17
 
18
18
/* Ported from glibc by Simon Josefsson. */
19
19
 
20
 
#include <config.h>
21
 
 
22
20
/* Don't use __attribute__ __nonnull__ in this compilation unit.  Otherwise gcc
23
21
   optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below.  */
24
22
#define _GL_ARG_NONNULL(params)
25
23
 
 
24
#include <config.h>
 
25
 
26
26
#include <stdio.h>
27
27
 
28
28
#include <limits.h>