X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Ferror.texi;h=cdfe9b7841b25d3c3ab0ba3e416b4437980cd7cf;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=8668359aec1a378b0d95bad6c99fbe7d1e70a587;hpb=f890dce30d447be286789f452c133bf1ea1da033;p=gnulib.git diff --git a/doc/error.texi b/doc/error.texi index 8668359ae..cdfe9b784 100644 --- a/doc/error.texi +++ b/doc/error.texi @@ -4,10 +4,10 @@ @findex progname @vindex program_name -@c Copyright (C) 2007 Free Software Foundation, Inc. +@c Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. @c Permission is granted to copy, distribute and/or modify this document -@c under the terms of the GNU Free Documentation License, Version 1.2 or +@c under the terms of the GNU Free Documentation License, Version 1.3 or @c any later version published by the Free Software Foundation; with no @c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover @c Texts. A copy of the license is included in the ``GNU Free @@ -18,5 +18,9 @@ does not depend on the @code{progname} module. Why? Because @code{error} is released under the LGPL, whereas @code{progname} is GPL. RMS does not want additional baggage accompanying the @code{error} module, so an LGPL user must provide their own -replacement @code{program_name}, and a GPL user should manually +replacement @code{program_name}, and a GPL user should manually specify using the @code{progname} module. + +Additionally, using the @code{progname} module is not something that +can be done implicitly. It requires that every @code{main} function +be modified to set @code{program_name} as one of its first actions.