source: patches/eglibc-2.17-qecvt-2.patch@ 7a48ca1

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7a48ca1 was 6c613c4, checked in by William Harrington <kb0iic@…>, 11 years ago

Update ppc/ppc64 eglibc qecvt patch.

  • Property mode set to 100644
File size: 1.8 KB
  • stdlib/bits/stdlib-ldbl.h

    Submitted By: William Harrington kb0iic at cross-lfs dot org.
    Date: 2013-08-12
    Initial Package Version: 2.17
    Upstream Status: Applied to 2.18 
    Origin: http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4220c3ef773c0e7fff7c95ecd7cff69886fe4c0e
    Description: Fixes a mismatch of guards around qcvt and friends.
    
    Redone for eglibc-2.17 on 2013-08-12
    
    diff -Naur eglibc-2.17.orig/stdlib/bits/stdlib-ldbl.h eglibc-2.17/stdlib/bits/stdlib-ldbl.h
    old new  
    3030__LDBL_REDIR1_DECL (strtold_l, strtod_l)
    3131#endif
    3232
    33 #if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
    34 # ifdef __USE_MISC
     33#ifdef __USE_MISC
    3534__LDBL_REDIR1_DECL (qecvt, ecvt)
    3635__LDBL_REDIR1_DECL (qfcvt, fcvt)
    3736__LDBL_REDIR1_DECL (qgcvt, gcvt)
    3837__LDBL_REDIR1_DECL (qecvt_r, ecvt_r)
    3938__LDBL_REDIR1_DECL (qfcvt_r, fcvt_r)
    40 # endif
    4139#endif
  • stdlib/stdlib.h

    diff -Naur eglibc-2.17.orig/stdlib/stdlib.h eglibc-2.17/stdlib/stdlib.h
    old new  
    819819extern char *gcvt (double __value, int __ndigit, char *__buf)
    820820     __THROW __nonnull ((3)) __wur;
    821821
     822#endif
    822823
    823 # ifdef __USE_MISC
     824#ifdef __USE_MISC
    824825/* Long double versions of above functions.  */
    825826extern char *qecvt (long double __value, int __ndigit,
    826827                    int *__restrict __decpt, int *__restrict __sign)
     
    849850                    int *__restrict __decpt, int *__restrict __sign,
    850851                    char *__restrict __buf, size_t __len)
    851852     __THROW __nonnull ((3, 4, 5));
    852 # endif /* misc */
    853 #endif  /* use MISC || use X/Open Unix */
    854 
     853#endif /* misc */
    855854
    856855__BEGIN_NAMESPACE_STD
    857856/* Return the length of the multibyte character
Note: See TracBrowser for help on using the repository browser.