X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Ferror.texi;h=296f6d4a6e304af4e6421d3cb35a0c6933e77413;hb=3458f09caac5234831a315d073344fc898dde077;hp=8668359aec1a378b0d95bad6c99fbe7d1e70a587;hpb=f890dce30d447be286789f452c133bf1ea1da033;p=gnulib.git diff --git a/doc/error.texi b/doc/error.texi index 8668359ae..296f6d4a6 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, 2010 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.