X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=gnu%2Fstrerror.c;fp=gnu%2Fstrerror.c;h=ad29c7112b0a094ecc6aeea2caa08699c42c01cf;hp=26ef483e4b3288fc09a9422eca81529ecaf6cd73;hb=ee168310ec4227174ace489bf5f81f8c2f91cde0;hpb=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6 diff --git a/gnu/strerror.c b/gnu/strerror.c index 26ef483..ad29c71 100644 --- a/gnu/strerror.c +++ b/gnu/strerror.c @@ -34,6 +34,9 @@ # include "intprops.h" +/* Use the system functions, not the gnulib overrides in this file. */ +# undef sprintf + # undef strerror # if ! HAVE_DECL_STRERROR # define strerror(n) NULL @@ -321,6 +324,12 @@ rpl_strerror (int n) break; # endif +# if GNULIB_defined_EDQUOT + case EDQUOT: + msg = "Disk quota exceeded"; + break; +# endif + # if GNULIB_defined_ECANCELED case ECANCELED: msg = "Operation canceled";