bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] standards.texi error function


From: James Youngman
Subject: Re: [bug-gnulib] standards.texi error function
Date: Sun, 5 Dec 2004 22:59:06 +0000
User-agent: Mutt/1.3.28i

On Sun, Dec 05, 2004 at 01:53:45PM -0500, Karl Berry wrote:

> In any case, can you send him some examples, etc.?

Here are some examples from findutils:-


      if (FATAL_IF_SANITY_CHECK_FAILS == isfatal)
        {
          fstype = filesystem_type(thing_to_stat, ".", newinfo);
          error (1, 0,
                 _("%s%s changed during execution of %s (old device number %ld, 
new device number %ld, filesystem type is %s) [ref %ld]"),
                 specific_what,
                 parent ? "/.." : "",
                 program_name,
                 (long) old_dev,
                 (long) newinfo->st_dev,
                 fstype,
                 line_no);
          /*NOTREACHED*/
          return false;
        }

        error (1, 0, _("invalid -size type `%c'"), argv[*arg_ptr][len - 1]);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]