~ubuntu-branches/ubuntu/oneiric/libvirt/oneiric-updates

« back to all changes in this revision

Viewing changes to gnulib/lib/wchar.in.h

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2011-05-11 12:29:51 UTC
  • mfrom: (1.2.10) (3.4.30 sid)
  • Revision ID: package-import@ubuntu.com-20110511122951-ku5fk1tv37o5aymm
Tags: 0.9.1-1ubuntu1
* Resynchronize and merge from Debian unstable (LP: #794378). Remaining
  changes:
  - debian/control:
    * set X-Python-Version to 2.7, as 2.6 is not in oneiric.
    * set ubuntu maintainer
    * Build-Depends:
      - remove [linux-any] from all dependencies
      - remove [!linux-any] deps
      - swap libxen to libxen3, qemu to qemu-kvm, and open-iscsi to
        open-iscsi-utils in Build-Depends
      - remove virtualbox-ose Build-Depends
      - add parted and libapparmor-dev Build-Depends
    * convert Vcs-Git to Xs-Debian-Vcs-Git
    * libvirt-bin Depends: move netcat-openbsd, bridge-utils, dnsmasq-base
      (>= 2.46-1), and iptables from Recommends to Depends
    * libvirt-bin Recommends: move qemu to Suggests
    * libvirt-bin Suggests: add apparmor
    * libvirt0 Recommands: move lvm2 to Suggests
  - keep debian/libvirt-bin.apport
  - keep debian/libvirt-bin.cron.daily
  - debian/libvirt-bin.dirs:
    * add apparmor, cron.daily, and apport dirs
  - debian/libvirt-bin.examples:
    * add debian/libvirt-suspendonreboot
  - debian/libvirt-bin.install:
    * add /etc/apparmor.d files
    * add apport hook
  - debian/libvirt-bin.manpages:
    * add debian/libvirt-migrate-qemu-disks.1
  - debian/libvirt-bin.postinst:
    * replace libvirt groupname with libvirtd
    * add each admin user to libvirtd group
    * call apparmor_parser on usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
    * call 'libvirt-migrate-qemu-disks -a' after
      libvirt-bin has started if migrating from
      older than 0.8.3-1ubuntu1
  - debian/libvirt-bin.postrm:
    * replace libvirt groupname with libvirtd
    * remove usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
  - keep added files under debian/:
    * libvirt-bin.upstart
    * libvirt-migrate-qemu-disks
    * libvirt-migrate-qemu-disks.1
    * libvirt-suspendonreboot
    * apparmor profiles
  - debian/README.Debian:
    * add 'Apparmor Profile' section
    * add 'Disk migration' section
  - debian/rules:
    * move include of debhelper.mk to top of file so DEB_HOST_ARCH_OS
      is defined.
    * don't build with vbox since virtualbox-ose is in universe
      - remove WITH_VBOX, add explicit --without-vbox
    * add --with-apparmor to DEB_CONFIGURE_EXTRA_FLAGS
    * set DEB_DH_INSTALLINIT_ARGS to '--upstart-only'
    * remove unneeded binary-install/libvirt-bin:: and clean::
      sections (they only deal with sysvinit stuff)
    * add build/libvirt-bin:: section to install
      - apparmor files
      - apport hooks
      - libvirt-migrate-qemu-disks
* debian/patches/series:
  - don't apply Disable-CHECKSUM-rule.patch: our iptables can do this
  - don't apply Debian-specific Debianize-libvirt-guests.patch (sysvinit only)
  - don't apply Disable qemu-disable-network.diff.patch
* debian/patches:
  - drop 9007-fix-daemon-conf-ftbfs.patch (looks like it may be fixed)
  - drop patches applied upstream:
    * 9022-drop-booton-when-kernel-specified.patch
    * 9023-fix-lxc-console-hangup.patch
    * 9024-fix-broken-commandtest.patch
    * 9025-Pass-virSecurityManagerPtr-to-virSecurityDAC-Set-Res.patch
    * 9026-security-avoid-memory-leak.patch
    * 9027-CVE-2011-1146.patch
  - keep patches:
    * 9000-delayed_iff_up_bridge.patch
    * 9001-dont_clobber_existing_bridges.patch
    * 9002-better_default_uri_virsh.patch
    * 9003-better-default-arch.patch
    * 9004-libvirtd-group-name.patch
    * 9005-increase-unix-socket-timeout.patch
    * 9006-default-config-test-case.patch
    * 9011-move-ebtables-script.patch (refreshed)
    * 9014-skip-nodeinfotest.patch (modified to make it apply)
    * 9020-lp545795.patch (modified to make it still apply)
    * 9021-fix-uint64_t.patch
    * 9022-allows-lxc-containers-with-lxcguest.patch (renamed, modified
      to make it still apply, and added DEP-3 tags).
  - new patches:
    * 9023-disable-test-poll.patch - don't run broken test-poll

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
   <wchar.h>.
64
64
   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
65
65
   included before <wchar.h>.
 
66
   In some builds of uClibc, <wchar.h> is nonexistent and wchar_t is defined
 
67
   by <stddef.h>.
66
68
   But avoid namespace pollution on glibc systems.  */
 
69
#if !(defined __GLIBC__ && !defined __UCLIBC__)
 
70
# include <stddef.h>
 
71
#endif
67
72
#ifndef __GLIBC__
68
 
# include <stddef.h>
69
73
# include <stdio.h>
70
74
# include <time.h>
71
75
#endif
437
441
# if !@HAVE_WMEMCHR@
438
442
_GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n));
439
443
# endif
440
 
_GL_CXXALIAS_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n));
 
444
  /* On some systems, this function is defined as an overloaded function:
 
445
       extern "C++" {
 
446
         const wchar_t * std::wmemchr (const wchar_t *, wchar_t, size_t);
 
447
         wchar_t * std::wmemchr (wchar_t *, wchar_t, size_t);
 
448
       }  */
 
449
_GL_CXXALIAS_SYS_CAST2 (wmemchr,
 
450
                        wchar_t *, (const wchar_t *, wchar_t, size_t),
 
451
                        const wchar_t *, (const wchar_t *, wchar_t, size_t));
 
452
# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \
 
453
     && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
 
454
_GL_CXXALIASWARN1 (wmemchr, wchar_t *, (wchar_t *s, wchar_t c, size_t n));
 
455
_GL_CXXALIASWARN1 (wmemchr, const wchar_t *,
 
456
                   (const wchar_t *s, wchar_t c, size_t n));
 
457
# else
441
458
_GL_CXXALIASWARN (wmemchr);
 
459
# endif
442
460
#elif defined GNULIB_POSIXCHECK
443
461
# undef wmemchr
444
462
# if HAVE_RAW_DECL_WMEMCHR
778
796
# if !@HAVE_WCSCHR@
779
797
_GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
780
798
# endif
781
 
_GL_CXXALIAS_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
 
799
  /* On some systems, this function is defined as an overloaded function:
 
800
       extern "C++" {
 
801
         const wchar_t * std::wcschr (const wchar_t *, wchar_t);
 
802
         wchar_t * std::wcschr (wchar_t *, wchar_t);
 
803
       }  */
 
804
_GL_CXXALIAS_SYS_CAST2 (wcschr,
 
805
                        wchar_t *, (const wchar_t *, wchar_t),
 
806
                        const wchar_t *, (const wchar_t *, wchar_t));
 
807
# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \
 
808
     && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
 
809
_GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc));
 
810
_GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc));
 
811
# else
782
812
_GL_CXXALIASWARN (wcschr);
 
813
# endif
783
814
#elif defined GNULIB_POSIXCHECK
784
815
# undef wcschr
785
816
# if HAVE_RAW_DECL_WCSCHR
794
825
# if !@HAVE_WCSRCHR@
795
826
_GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
796
827
# endif
797
 
_GL_CXXALIAS_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc));
 
828
  /* On some systems, this function is defined as an overloaded function:
 
829
       extern "C++" {
 
830
         const wchar_t * std::wcsrchr (const wchar_t *, wchar_t);
 
831
         wchar_t * std::wcsrchr (wchar_t *, wchar_t);
 
832
       }  */
 
833
_GL_CXXALIAS_SYS_CAST2 (wcsrchr,
 
834
                        wchar_t *, (const wchar_t *, wchar_t),
 
835
                        const wchar_t *, (const wchar_t *, wchar_t));
 
836
# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \
 
837
     && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
 
838
_GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc));
 
839
_GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc));
 
840
# else
798
841
_GL_CXXALIASWARN (wcsrchr);
 
842
# endif
799
843
#elif defined GNULIB_POSIXCHECK
800
844
# undef wcsrchr
801
845
# if HAVE_RAW_DECL_WCSRCHR
845
889
_GL_FUNCDECL_SYS (wcspbrk, wchar_t *,
846
890
                  (const wchar_t *wcs, const wchar_t *accept));
847
891
# endif
848
 
_GL_CXXALIAS_SYS (wcspbrk, wchar_t *,
849
 
                  (const wchar_t *wcs, const wchar_t *accept));
 
892
  /* On some systems, this function is defined as an overloaded function:
 
893
       extern "C++" {
 
894
         const wchar_t * std::wcspbrk (const wchar_t *, const wchar_t *);
 
895
         wchar_t * std::wcspbrk (wchar_t *, const wchar_t *);
 
896
       }  */
 
897
_GL_CXXALIAS_SYS_CAST2 (wcspbrk,
 
898
                        wchar_t *, (const wchar_t *, const wchar_t *),
 
899
                        const wchar_t *, (const wchar_t *, const wchar_t *));
 
900
# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \
 
901
     && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
 
902
_GL_CXXALIASWARN1 (wcspbrk, wchar_t *,
 
903
                   (wchar_t *wcs, const wchar_t *accept));
 
904
_GL_CXXALIASWARN1 (wcspbrk, const wchar_t *,
 
905
                   (const wchar_t *wcs, const wchar_t *accept));
 
906
# else
850
907
_GL_CXXALIASWARN (wcspbrk);
 
908
# endif
851
909
#elif defined GNULIB_POSIXCHECK
852
910
# undef wcspbrk
853
911
# if HAVE_RAW_DECL_WCSPBRK
863
921
_GL_FUNCDECL_SYS (wcsstr, wchar_t *,
864
922
                  (const wchar_t *haystack, const wchar_t *needle));
865
923
# endif
866
 
_GL_CXXALIAS_SYS (wcsstr, wchar_t *,
867
 
                  (const wchar_t *haystack, const wchar_t *needle));
 
924
  /* On some systems, this function is defined as an overloaded function:
 
925
       extern "C++" {
 
926
         const wchar_t * std::wcsstr (const wchar_t *, const wchar_t *);
 
927
         wchar_t * std::wcsstr (wchar_t *, const wchar_t *);
 
928
       }  */
 
929
_GL_CXXALIAS_SYS_CAST2 (wcsstr,
 
930
                        wchar_t *, (const wchar_t *, const wchar_t *),
 
931
                        const wchar_t *, (const wchar_t *, const wchar_t *));
 
932
# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \
 
933
     && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
 
934
_GL_CXXALIASWARN1 (wcsstr, wchar_t *,
 
935
                   (wchar_t *haystack, const wchar_t *needle));
 
936
_GL_CXXALIASWARN1 (wcsstr, const wchar_t *,
 
937
                   (const wchar_t *haystack, const wchar_t *needle));
 
938
# else
868
939
_GL_CXXALIASWARN (wcsstr);
 
940
# endif
869
941
#elif defined GNULIB_POSIXCHECK
870
942
# undef wcsstr
871
943
# if HAVE_RAW_DECL_WCSSTR