~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/mbsrtowcs-state.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Convert string to wide string.
2
 
   Copyright (C) 2008-2011 Free Software Foundation, Inc.
 
2
   Copyright (C) 2008-2012 Free Software Foundation, Inc.
3
3
   Written by Bruno Haible <bruno@clisp.org>, 2008.
4
4
 
5
5
   This program is free software: you can redistribute it and/or modify
22
22
/* Internal state used by the functions mbsrtowcs() and mbsnrtowcs().  */
23
23
mbstate_t _gl_mbsrtowcs_state
24
24
/* The state must initially be in the "initial state"; so, zero-initialize it.
25
 
   On most systems, putting it into BSS is sufficient.  Not so on MacOS X 10.3,
 
25
   On most systems, putting it into BSS is sufficient.  Not so on Mac OS X 10.3,
26
26
   see <http://lists.gnu.org/archive/html/bug-gnulib/2009-01/msg00329.html>.
27
27
   When it needs an initializer, use 0 or {0} as initializer? 0 only works
28
28
   when mbstate_t is a scalar type (such as when gnulib defines it, or on