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=b414e25de8ca49d7567a92c203d431383ec57c83;hpb=29ece34f44a27750bbfd76154ad9882580453dc7 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";