diff --git a/.tarball-version b/.tarball-version
new file mode 100644
index 0000000..d70c8f8
--- /dev/null
+++ b/.tarball-version
@@ -0,0 +1 @@
+3.6
diff --git a/ABOUT-NLS b/ABOUT-NLS
new file mode 100644
index 0000000..b1de1b6
--- /dev/null
+++ b/ABOUT-NLS
@@ -0,0 +1,1282 @@
+1 Notes on the Free Translation Project
+***************************************
+
+Free software is going international! The Free Translation Project is
+a way to get maintainers of free software, translators, and users all
+together, so that free software will gradually become able to speak many
+languages. A few packages already provide translations for their
+messages.
+
+ If you found this `ABOUT-NLS' file inside a distribution, you may
+assume that the distributed package does use GNU `gettext' internally,
+itself available at your nearest GNU archive site. But you do _not_
+need to install GNU `gettext' prior to configuring, installing or using
+this package with messages translated.
+
+ Installers will find here some useful hints. These notes also
+explain how users should proceed for getting the programs to use the
+available translations. They tell how people wanting to contribute and
+work on translations can contact the appropriate team.
+
+1.1 INSTALL Matters
+===================
+
+Some packages are "localizable" when properly installed; the programs
+they contain can be made to speak your own native language. Most such
+packages use GNU `gettext'. Other packages have their own ways to
+internationalization, predating GNU `gettext'.
+
+ By default, this package will be installed to allow translation of
+messages. It will automatically detect whether the system already
+provides the GNU `gettext' functions. Installers may use special
+options at configuration time for changing the default behaviour. The
+command:
+
+ ./configure --disable-nls
+
+will _totally_ disable translation of messages.
+
+ When you already have GNU `gettext' installed on your system and run
+configure without an option for your new package, `configure' will
+probably detect the previously built and installed `libintl' library
+and will decide to use it. If not, you may have to to use the
+`--with-libintl-prefix' option to tell `configure' where to look for it.
+
+ Internationalized packages usually have many `po/LL.po' files, where
+LL gives an ISO 639 two-letter code identifying the language. Unless
+translations have been forbidden at `configure' time by using the
+`--disable-nls' switch, all available translations are installed
+together with the package. However, the environment variable `LINGUAS'
+may be set, prior to configuration, to limit the installed set.
+`LINGUAS' should then contain a space separated list of two-letter
+codes, stating which languages are allowed.
+
+1.2 Using This Package
+======================
+
+As a user, if your language has been installed for this package, you
+only have to set the `LANG' environment variable to the appropriate
+`LL_CC' combination. If you happen to have the `LC_ALL' or some other
+`LC_xxx' environment variables set, you should unset them before
+setting `LANG', otherwise the setting of `LANG' will not have the
+desired effect. Here `LL' is an ISO 639 two-letter language code, and
+`CC' is an ISO 3166 two-letter country code. For example, let's
+suppose that you speak German and live in Germany. At the shell
+prompt, merely execute `setenv LANG de_DE' (in `csh'),
+`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
+This can be done from your `.login' or `.profile' file, once and for
+all.
+
+ You might think that the country code specification is redundant.
+But in fact, some languages have dialects in different countries. For
+example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
+country code serves to distinguish the dialects.
+
+ The locale naming convention of `LL_CC', with `LL' denoting the
+language and `CC' denoting the country, is the one use on systems based
+on GNU libc. On other systems, some variations of this scheme are
+used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
+locales supported by your system for your language by running the
+command `locale -a | grep '^LL''.
+
+ Not all programs have translations for all languages. By default, an
+English message is shown in place of a nonexistent translation. If you
+understand other languages, you can set up a priority list of languages.
+This is done through a different environment variable, called
+`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
+for the purpose of message handling, but you still need to have `LANG'
+set to the primary language; this is required by other parts of the
+system libraries. For example, some Swedish users who would rather
+read translations in German than English for when Swedish is not
+available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
+
+ Special advice for Norwegian users: The language code for Norwegian
+bokma*l changed from `no' to `nb' recently (in 2003). During the
+transition period, while some message catalogs for this language are
+installed under `nb' and some older ones under `no', it's recommended
+for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
+older translations are used.
+
+ In the `LANGUAGE' environment variable, but not in the `LANG'
+environment variable, `LL_CC' combinations can be abbreviated as `LL'
+to denote the language's main dialect. For example, `de' is equivalent
+to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
+(Portuguese as spoken in Portugal) in this context.
+
+1.3 Translating Teams
+=====================
+
+For the Free Translation Project to be a success, we need interested
+people who like their own language and write it well, and who are also
+able to synergize with other translators speaking the same language.
+Each translation team has its own mailing list. The up-to-date list of
+teams can be found at the Free Translation Project's homepage,
+`http://translationproject.org/', in the "Teams" area.
+
+ If you'd like to volunteer to _work_ at translating messages, you
+should become a member of the translating team for your own language.
+The subscribing address is _not_ the same as the list itself, it has
+`-request' appended. For example, speakers of Swedish can send a
+message to `sv-request@li.org', having this message body:
+
+ subscribe
+
+ Keep in mind that team members are expected to participate
+_actively_ in translations, or at solving translational difficulties,
+rather than merely lurking around. If your team does not exist yet and
+you want to start one, or if you are unsure about what to do or how to
+get started, please write to `coordinator@translationproject.org' to
+reach the coordinator for all translator teams.
+
+ The English team is special. It works at improving and uniformizing
+the terminology in use. Proven linguistic skills are praised more than
+programming skills, here.
+
+1.4 Available Packages
+======================
+
+Languages are not equally supported in all packages. The following
+matrix shows the current state of internationalization, as of June
+2010. The matrix shows, in regard of each package, for which languages
+PO files have been submitted to translation coordination, with a
+translation percentage of at least 50%.
+
+ Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca
+ +--------------------------------------------------+
+ a2ps | [] [] |
+ aegis | |
+ ant-phone | |
+ anubis | |
+ aspell | [] [] |
+ bash | |
+ bfd | |
+ bibshelf | [] |
+ binutils | |
+ bison | |
+ bison-runtime | [] |
+ bluez-pin | [] [] |
+ bombono-dvd | |
+ buzztard | |
+ cflow | |
+ clisp | |
+ coreutils | [] [] |
+ cpio | |
+ cppi | |
+ cpplib | [] |
+ cryptsetup | |
+ dfarc | |
+ dialog | [] [] |
+ dico | |
+ diffutils | [] |
+ dink | |
+ doodle | |
+ e2fsprogs | [] |
+ enscript | [] |
+ exif | |
+ fetchmail | [] |
+ findutils | [] |
+ flex | [] |
+ freedink | |
+ gas | |
+ gawk | [] [] |
+ gcal | [] |
+ gcc | |
+ gettext-examples | [] [] [] [] |
+ gettext-runtime | [] [] |
+ gettext-tools | [] [] |
+ gip | [] |
+ gjay | |
+ gliv | [] |
+ glunarclock | [] [] |
+ gnubiff | |
+ gnucash | [] |
+ gnuedu | |
+ gnulib | |
+ gnunet | |
+ gnunet-gtk | |
+ gnutls | |
+ gold | |
+ gpe-aerial | |
+ gpe-beam | |
+ gpe-bluetooth | |
+ gpe-calendar | |
+ gpe-clock | [] |
+ gpe-conf | |
+ gpe-contacts | |
+ gpe-edit | |
+ gpe-filemanager | |
+ gpe-go | |
+ gpe-login | |
+ gpe-ownerinfo | [] |
+ gpe-package | |
+ gpe-sketchbook | |
+ gpe-su | [] |
+ gpe-taskmanager | [] |
+ gpe-timesheet | [] |
+ gpe-today | [] |
+ gpe-todo | |
+ gphoto2 | |
+ gprof | [] |
+ gpsdrive | |
+ gramadoir | |
+ grep | |
+ grub | [] [] |
+ gsasl | |
+ gss | |
+ gst-plugins-bad | [] |
+ gst-plugins-base | [] |
+ gst-plugins-good | [] |
+ gst-plugins-ugly | [] |
+ gstreamer | [] [] [] |
+ gtick | |
+ gtkam | [] |
+ gtkorphan | [] |
+ gtkspell | [] [] [] |
+ gutenprint | |
+ hello | [] |
+ help2man | |
+ hylafax | |
+ idutils | |
+ indent | [] [] |
+ iso_15924 | |
+ iso_3166 | [] [] [] [] [] [] [] |
+ iso_3166_2 | |
+ iso_4217 | |
+ iso_639 | [] [] [] [] |
+ iso_639_3 | |
+ jwhois | |
+ kbd | |
+ keytouch | [] |
+ keytouch-editor | |
+ keytouch-keyboa... | [] |
+ klavaro | [] |
+ latrine | |
+ ld | [] |
+ leafpad | [] [] |
+ libc | [] [] |
+ libexif | () |
+ libextractor | |
+ libgnutls | |
+ libgpewidget | |
+ libgpg-error | |
+ libgphoto2 | |
+ libgphoto2_port | |
+ libgsasl | |
+ libiconv | [] |
+ libidn | |
+ lifelines | |
+ liferea | [] [] |
+ lilypond | |
+ linkdr | [] |
+ lordsawar | |
+ lprng | |
+ lynx | [] |
+ m4 | |
+ mailfromd | |
+ mailutils | |
+ make | |
+ man-db | |
+ man-db-manpages | |
+ minicom | |
+ mkisofs | |
+ myserver | |
+ nano | [] [] |
+ opcodes | |
+ parted | |
+ pies | |
+ popt | |
+ psmisc | |
+ pspp | [] |
+ pwdutils | |
+ radius | [] |
+ recode | [] [] |
+ rosegarden | |
+ rpm | |
+ rush | |
+ sarg | |
+ screem | |
+ scrollkeeper | [] [] [] |
+ sed | [] [] |
+ sharutils | [] [] |
+ shishi | |
+ skencil | |
+ solfege | |
+ solfege-manual | |
+ soundtracker | |
+ sp | |
+ sysstat | |
+ tar | [] |
+ texinfo | |
+ tin | |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux-ng | [] |
+ vice | |
+ vmm | |
+ vorbis-tools | |
+ wastesedge | |
+ wdiff | |
+ wget | [] [] |
+ wyslij-po | |
+ xchat | [] [] [] [] |
+ xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] |
+ +--------------------------------------------------+
+ af am an ar as ast az be be@latin bg bn_IN bs ca
+ 6 0 1 2 3 19 1 10 3 28 3 1 38
+
+ crh cs da de el en en_GB en_ZA eo es et eu fa
+ +-------------------------------------------------+
+ a2ps | [] [] [] [] [] [] [] |
+ aegis | [] [] [] |
+ ant-phone | [] () |
+ anubis | [] [] |
+ aspell | [] [] [] [] [] |
+ bash | [] [] [] |
+ bfd | [] |
+ bibshelf | [] [] [] |
+ binutils | [] |
+ bison | [] [] |
+ bison-runtime | [] [] [] [] |
+ bluez-pin | [] [] [] [] [] [] |
+ bombono-dvd | [] |
+ buzztard | [] [] [] |
+ cflow | [] [] |
+ clisp | [] [] [] [] |
+ coreutils | [] [] [] [] |
+ cpio | |
+ cppi | |
+ cpplib | [] [] [] |
+ cryptsetup | [] |
+ dfarc | [] [] [] |
+ dialog | [] [] [] [] [] |
+ dico | |
+ diffutils | [] [] [] [] [] [] |
+ dink | [] [] [] |
+ doodle | [] |
+ e2fsprogs | [] [] [] |
+ enscript | [] [] [] |
+ exif | () [] [] |
+ fetchmail | [] [] () [] [] [] |
+ findutils | [] [] [] |
+ flex | [] [] |
+ freedink | [] [] [] |
+ gas | [] |
+ gawk | [] [] [] |
+ gcal | [] |
+ gcc | [] [] |
+ gettext-examples | [] [] [] [] |
+ gettext-runtime | [] [] [] [] |
+ gettext-tools | [] [] [] |
+ gip | [] [] [] [] |
+ gjay | [] |
+ gliv | [] [] [] |
+ glunarclock | [] [] |
+ gnubiff | () |
+ gnucash | [] () () () () |
+ gnuedu | [] [] |
+ gnulib | [] [] |
+ gnunet | |
+ gnunet-gtk | [] |
+ gnutls | [] [] |
+ gold | [] |
+ gpe-aerial | [] [] [] [] |
+ gpe-beam | [] [] [] [] |
+ gpe-bluetooth | [] [] |
+ gpe-calendar | [] |
+ gpe-clock | [] [] [] [] |
+ gpe-conf | [] [] [] |
+ gpe-contacts | [] [] [] |
+ gpe-edit | [] [] |
+ gpe-filemanager | [] [] [] |
+ gpe-go | [] [] [] [] |
+ gpe-login | [] [] |
+ gpe-ownerinfo | [] [] [] [] |
+ gpe-package | [] [] [] |
+ gpe-sketchbook | [] [] [] [] |
+ gpe-su | [] [] [] [] |
+ gpe-taskmanager | [] [] [] [] |
+ gpe-timesheet | [] [] [] [] |
+ gpe-today | [] [] [] [] |
+ gpe-todo | [] [] [] |
+ gphoto2 | [] [] () [] [] [] |
+ gprof | [] [] [] |
+ gpsdrive | [] [] [] |
+ gramadoir | [] [] [] |
+ grep | [] |
+ grub | [] [] |
+ gsasl | [] |
+ gss | |
+ gst-plugins-bad | [] [] [] [] [] |
+ gst-plugins-base | [] [] [] [] [] |
+ gst-plugins-good | [] [] [] [] [] [] |
+ gst-plugins-ugly | [] [] [] [] [] [] |
+ gstreamer | [] [] [] [] [] |
+ gtick | [] () [] |
+ gtkam | [] [] () [] [] |
+ gtkorphan | [] [] [] [] |
+ gtkspell | [] [] [] [] [] [] [] |
+ gutenprint | [] [] [] |
+ hello | [] [] [] [] |
+ help2man | [] |
+ hylafax | [] [] |
+ idutils | [] [] |
+ indent | [] [] [] [] [] [] [] |
+ iso_15924 | [] () [] [] |
+ iso_3166 | [] [] [] [] () [] [] [] () |
+ iso_3166_2 | () |
+ iso_4217 | [] [] [] () [] [] |
+ iso_639 | [] [] [] [] () [] [] |
+ iso_639_3 | [] |
+ jwhois | [] |
+ kbd | [] [] [] [] [] |
+ keytouch | [] [] |
+ keytouch-editor | [] [] |
+ keytouch-keyboa... | [] |
+ klavaro | [] [] [] [] |
+ latrine | [] () |
+ ld | [] [] |
+ leafpad | [] [] [] [] [] [] |
+ libc | [] [] [] [] |
+ libexif | [] [] () |
+ libextractor | |
+ libgnutls | [] |
+ libgpewidget | [] [] |
+ libgpg-error | [] [] |
+ libgphoto2 | [] () |
+ libgphoto2_port | [] () [] |
+ libgsasl | |
+ libiconv | [] [] [] [] [] |
+ libidn | [] [] [] |
+ lifelines | [] () |
+ liferea | [] [] [] [] [] |
+ lilypond | [] [] [] |
+ linkdr | [] [] [] |
+ lordsawar | [] |
+ lprng | |
+ lynx | [] [] [] [] |
+ m4 | [] [] [] [] |
+ mailfromd | |
+ mailutils | [] |
+ make | [] [] [] |
+ man-db | |
+ man-db-manpages | |
+ minicom | [] [] [] [] |
+ mkisofs | |
+ myserver | |
+ nano | [] [] [] |
+ opcodes | [] [] |
+ parted | [] [] |
+ pies | |
+ popt | [] [] [] [] [] |
+ psmisc | [] [] [] |
+ pspp | [] |
+ pwdutils | [] |
+ radius | [] |
+ recode | [] [] [] [] [] [] |
+ rosegarden | () () () |
+ rpm | [] [] [] |
+ rush | |
+ sarg | |
+ screem | |
+ scrollkeeper | [] [] [] [] [] |
+ sed | [] [] [] [] [] [] |
+ sharutils | [] [] [] [] |
+ shishi | |
+ skencil | [] () [] |
+ solfege | [] [] [] |
+ solfege-manual | [] [] |
+ soundtracker | [] [] [] |
+ sp | [] |
+ sysstat | [] [] [] |
+ tar | [] [] [] [] |
+ texinfo | [] [] [] |
+ tin | [] [] |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux-ng | [] [] [] [] |
+ vice | () () |
+ vmm | [] |
+ vorbis-tools | [] [] |
+ wastesedge | [] |
+ wdiff | [] [] |
+ wget | [] [] [] |
+ wyslij-po | |
+ xchat | [] [] [] [] [] |
+ xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] [] [] [] [] |
+ +-------------------------------------------------+
+ crh cs da de el en en_GB en_ZA eo es et eu fa
+ 5 64 105 117 18 1 8 0 28 89 18 19 0
+
+ fi fr ga gl gu he hi hr hu hy id is it ja ka kn
+ +----------------------------------------------------+
+ a2ps | [] [] [] [] |
+ aegis | [] [] |
+ ant-phone | [] [] |
+ anubis | [] [] [] [] |
+ aspell | [] [] [] [] |
+ bash | [] [] [] [] |
+ bfd | [] [] [] |
+ bibshelf | [] [] [] [] [] |
+ binutils | [] [] [] |
+ bison | [] [] [] [] |
+ bison-runtime | [] [] [] [] [] [] |
+ bluez-pin | [] [] [] [] [] [] [] [] |
+ bombono-dvd | [] |
+ buzztard | [] |
+ cflow | [] [] [] |
+ clisp | [] |
+ coreutils | [] [] [] [] [] |
+ cpio | [] [] [] [] |
+ cppi | [] [] |
+ cpplib | [] [] [] |
+ cryptsetup | [] [] [] |
+ dfarc | [] [] [] |
+ dialog | [] [] [] [] [] [] [] |
+ dico | |
+ diffutils | [] [] [] [] [] [] [] [] [] |
+ dink | [] |
+ doodle | [] [] |
+ e2fsprogs | [] [] |
+ enscript | [] [] [] [] |
+ exif | [] [] [] [] [] [] |
+ fetchmail | [] [] [] [] |
+ findutils | [] [] [] [] [] [] |
+ flex | [] [] [] |
+ freedink | [] [] [] |
+ gas | [] [] |
+ gawk | [] [] [] [] () [] |
+ gcal | [] |
+ gcc | [] |
+ gettext-examples | [] [] [] [] [] [] [] |
+ gettext-runtime | [] [] [] [] [] [] |
+ gettext-tools | [] [] [] [] |
+ gip | [] [] [] [] [] [] |
+ gjay | [] |
+ gliv | [] () |
+ glunarclock | [] [] [] [] |
+ gnubiff | () [] () |
+ gnucash | () () () () () [] |
+ gnuedu | [] [] |
+ gnulib | [] [] [] [] [] [] |
+ gnunet | |
+ gnunet-gtk | [] |
+ gnutls | [] [] |
+ gold | [] [] |
+ gpe-aerial | [] [] [] |
+ gpe-beam | [] [] [] [] |
+ gpe-bluetooth | [] [] [] [] |
+ gpe-calendar | [] [] |
+ gpe-clock | [] [] [] [] [] |
+ gpe-conf | [] [] [] [] |
+ gpe-contacts | [] [] [] [] |
+ gpe-edit | [] [] [] |
+ gpe-filemanager | [] [] [] [] |
+ gpe-go | [] [] [] [] [] |
+ gpe-login | [] [] [] |
+ gpe-ownerinfo | [] [] [] [] [] |
+ gpe-package | [] [] [] |
+ gpe-sketchbook | [] [] [] [] |
+ gpe-su | [] [] [] [] [] [] |
+ gpe-taskmanager | [] [] [] [] [] |
+ gpe-timesheet | [] [] [] [] [] |
+ gpe-today | [] [] [] [] [] [] [] |
+ gpe-todo | [] [] [] |
+ gphoto2 | [] [] [] [] [] [] |
+ gprof | [] [] [] [] |
+ gpsdrive | [] [] [] |
+ gramadoir | [] [] [] |
+ grep | [] [] |
+ grub | [] [] [] [] |
+ gsasl | [] [] [] [] [] |
+ gss | [] [] [] [] [] |
+ gst-plugins-bad | [] [] [] [] [] [] |
+ gst-plugins-base | [] [] [] [] [] [] |
+ gst-plugins-good | [] [] [] [] [] [] |
+ gst-plugins-ugly | [] [] [] [] [] [] |
+ gstreamer | [] [] [] [] [] |
+ gtick | [] [] [] [] [] |
+ gtkam | [] [] [] [] [] |
+ gtkorphan | [] [] [] |
+ gtkspell | [] [] [] [] [] [] [] [] [] |
+ gutenprint | [] [] [] [] |
+ hello | [] [] [] |
+ help2man | [] [] |
+ hylafax | [] |
+ idutils | [] [] [] [] [] [] |
+ indent | [] [] [] [] [] [] [] [] |
+ iso_15924 | [] () [] [] |
+ iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] |
+ iso_3166_2 | () [] [] [] |
+ iso_4217 | [] () [] [] [] [] |
+ iso_639 | [] () [] [] [] [] [] [] [] |
+ iso_639_3 | () [] [] |
+ jwhois | [] [] [] [] [] |
+ kbd | [] [] |
+ keytouch | [] [] [] [] [] [] |
+ keytouch-editor | [] [] [] [] [] |
+ keytouch-keyboa... | [] [] [] [] [] |
+ klavaro | [] [] |
+ latrine | [] [] [] |
+ ld | [] [] [] [] |
+ leafpad | [] [] [] [] [] [] [] () |
+ libc | [] [] [] [] [] |
+ libexif | [] |
+ libextractor | |
+ libgnutls | [] [] |
+ libgpewidget | [] [] [] [] |
+ libgpg-error | [] [] |
+ libgphoto2 | [] [] [] |
+ libgphoto2_port | [] [] [] |
+ libgsasl | [] [] [] [] [] |
+ libiconv | [] [] [] [] [] [] |
+ libidn | [] [] [] [] |
+ lifelines | () |
+ liferea | [] [] [] [] |
+ lilypond | [] [] |
+ linkdr | [] [] [] [] [] |
+ lordsawar | |
+ lprng | [] |
+ lynx | [] [] [] [] [] |
+ m4 | [] [] [] [] [] [] |
+ mailfromd | |
+ mailutils | [] [] |
+ make | [] [] [] [] [] [] [] [] [] |
+ man-db | [] [] |
+ man-db-manpages | [] |
+ minicom | [] [] [] [] [] |
+ mkisofs | [] [] [] [] |
+ myserver | |
+ nano | [] [] [] [] [] [] |
+ opcodes | [] [] [] [] |
+ parted | [] [] [] [] |
+ pies | |
+ popt | [] [] [] [] [] [] [] [] [] |
+ psmisc | [] [] [] |
+ pspp | |
+ pwdutils | [] [] |
+ radius | [] [] |
+ recode | [] [] [] [] [] [] [] [] |
+ rosegarden | () () () () () |
+ rpm | [] [] |
+ rush | |
+ sarg | [] |
+ screem | [] [] |
+ scrollkeeper | [] [] [] [] |
+ sed | [] [] [] [] [] [] [] [] |
+ sharutils | [] [] [] [] [] [] [] |
+ shishi | [] |
+ skencil | [] |
+ solfege | [] [] [] [] |
+ solfege-manual | [] [] |
+ soundtracker | [] [] |
+ sp | [] () |
+ sysstat | [] [] [] [] [] |
+ tar | [] [] [] [] [] [] [] |
+ texinfo | [] [] [] [] |
+ tin | [] |
+ unicode-han-tra... | |
+ unicode-transla... | [] [] |
+ util-linux-ng | [] [] [] [] [] [] |
+ vice | () () () |
+ vmm | [] |
+ vorbis-tools | [] |
+ wastesedge | () () |
+ wdiff | [] |
+ wget | [] [] [] [] [] [] [] [] |
+ wyslij-po | [] [] [] |
+ xchat | [] [] [] [] [] [] [] [] [] |
+ xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] [] [] [] |
+ +----------------------------------------------------+
+ fi fr ga gl gu he hi hr hu hy id is it ja ka kn
+ 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4
+
+ ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
+ +-----------------------------------------------+
+ a2ps | [] |
+ aegis | |
+ ant-phone | |
+ anubis | [] [] |
+ aspell | [] |
+ bash | |
+ bfd | |
+ bibshelf | [] [] |
+ binutils | |
+ bison | [] |
+ bison-runtime | [] [] [] [] [] |
+ bluez-pin | [] [] [] [] [] |
+ bombono-dvd | |
+ buzztard | |
+ cflow | |
+ clisp | |
+ coreutils | [] |
+ cpio | |
+ cppi | |
+ cpplib | |
+ cryptsetup | |
+ dfarc | [] |
+ dialog | [] [] [] [] [] |
+ dico | |
+ diffutils | [] [] |
+ dink | |
+ doodle | |
+ e2fsprogs | |
+ enscript | |
+ exif | [] |
+ fetchmail | |
+ findutils | |
+ flex | |
+ freedink | [] |
+ gas | |
+ gawk | |
+ gcal | |
+ gcc | |
+ gettext-examples | [] [] [] [] |
+ gettext-runtime | [] |
+ gettext-tools | [] |
+ gip | [] [] |
+ gjay | |
+ gliv | |
+ glunarclock | [] |
+ gnubiff | |
+ gnucash | () () () () |
+ gnuedu | |
+ gnulib | |
+ gnunet | |
+ gnunet-gtk | |
+ gnutls | [] |
+ gold | |
+ gpe-aerial | [] |
+ gpe-beam | [] |
+ gpe-bluetooth | [] [] |
+ gpe-calendar | [] |
+ gpe-clock | [] [] [] [] [] |
+ gpe-conf | [] [] |
+ gpe-contacts | [] [] |
+ gpe-edit | [] |
+ gpe-filemanager | [] [] |
+ gpe-go | [] [] [] |
+ gpe-login | [] |
+ gpe-ownerinfo | [] [] |
+ gpe-package | [] [] |
+ gpe-sketchbook | [] [] |
+ gpe-su | [] [] [] [] [] [] |
+ gpe-taskmanager | [] [] [] [] [] [] |
+ gpe-timesheet | [] [] |
+ gpe-today | [] [] [] [] |
+ gpe-todo | [] [] |
+ gphoto2 | |
+ gprof | [] |
+ gpsdrive | |
+ gramadoir | |
+ grep | |
+ grub | |
+ gsasl | |
+ gss | |
+ gst-plugins-bad | [] [] [] [] |
+ gst-plugins-base | [] [] |
+ gst-plugins-good | [] [] |
+ gst-plugins-ugly | [] [] [] [] [] |
+ gstreamer | |
+ gtick | |
+ gtkam | [] |
+ gtkorphan | [] [] |
+ gtkspell | [] [] [] [] [] [] [] |
+ gutenprint | |
+ hello | [] [] [] |
+ help2man | |
+ hylafax | |
+ idutils | |
+ indent | |
+ iso_15924 | [] [] |
+ iso_3166 | [] [] () [] [] [] [] [] |
+ iso_3166_2 | |
+ iso_4217 | [] [] |
+ iso_639 | [] [] |
+ iso_639_3 | [] |
+ jwhois | [] |
+ kbd | |
+ keytouch | [] |
+ keytouch-editor | [] |
+ keytouch-keyboa... | [] |
+ klavaro | [] |
+ latrine | [] |
+ ld | |
+ leafpad | [] [] [] |
+ libc | [] |
+ libexif | |
+ libextractor | |
+ libgnutls | [] |
+ libgpewidget | [] [] |
+ libgpg-error | |
+ libgphoto2 | |
+ libgphoto2_port | |
+ libgsasl | |
+ libiconv | |
+ libidn | |
+ lifelines | |
+ liferea | |
+ lilypond | |
+ linkdr | |
+ lordsawar | |
+ lprng | |
+ lynx | |
+ m4 | |
+ mailfromd | |
+ mailutils | |
+ make | [] |
+ man-db | |
+ man-db-manpages | |
+ minicom | [] |
+ mkisofs | |
+ myserver | |
+ nano | [] [] |
+ opcodes | |
+ parted | |
+ pies | |
+ popt | [] [] [] |
+ psmisc | |
+ pspp | |
+ pwdutils | |
+ radius | |
+ recode | |
+ rosegarden | |
+ rpm | |
+ rush | |
+ sarg | |
+ screem | |
+ scrollkeeper | [] [] |
+ sed | |
+ sharutils | |
+ shishi | |
+ skencil | |
+ solfege | [] |
+ solfege-manual | |
+ soundtracker | |
+ sp | |
+ sysstat | [] |
+ tar | [] |
+ texinfo | [] |
+ tin | |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux-ng | |
+ vice | |
+ vmm | |
+ vorbis-tools | |
+ wastesedge | |
+ wdiff | |
+ wget | [] |
+ wyslij-po | |
+ xchat | [] [] [] |
+ xdg-user-dirs | [] [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] [] |
+ +-----------------------------------------------+
+ ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
+ 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1
+
+ nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
+ +---------------------------------------------------+
+ a2ps | [] [] [] [] [] [] [] [] |
+ aegis | [] [] [] |
+ ant-phone | [] [] |
+ anubis | [] [] [] |
+ aspell | [] [] [] [] [] |
+ bash | [] [] |
+ bfd | [] |
+ bibshelf | [] [] |
+ binutils | [] [] |
+ bison | [] [] [] |
+ bison-runtime | [] [] [] [] [] [] [] |
+ bluez-pin | [] [] [] [] [] [] [] [] |
+ bombono-dvd | [] () |
+ buzztard | [] [] |
+ cflow | [] |
+ clisp | [] [] |
+ coreutils | [] [] [] [] [] [] |
+ cpio | [] [] [] |
+ cppi | [] |
+ cpplib | [] |
+ cryptsetup | [] |
+ dfarc | [] |
+ dialog | [] [] [] [] |
+ dico | [] |
+ diffutils | [] [] [] [] [] [] |
+ dink | () |
+ doodle | [] [] |
+ e2fsprogs | [] [] |
+ enscript | [] [] [] [] [] |
+ exif | [] [] [] () [] |
+ fetchmail | [] [] [] [] |
+ findutils | [] [] [] [] [] |
+ flex | [] [] [] [] [] |
+ freedink | [] [] |
+ gas | |
+ gawk | [] [] [] [] |
+ gcal | |
+ gcc | [] |
+ gettext-examples | [] [] [] [] [] [] [] [] |
+ gettext-runtime | [] [] [] [] [] [] [] [] [] |
+ gettext-tools | [] [] [] [] [] [] |
+ gip | [] [] [] [] [] |
+ gjay | |
+ gliv | [] [] [] [] [] [] |
+ glunarclock | [] [] [] [] [] |
+ gnubiff | [] () |
+ gnucash | [] () () () |
+ gnuedu | [] |
+ gnulib | [] [] [] [] |
+ gnunet | |
+ gnunet-gtk | |
+ gnutls | [] [] |
+ gold | |
+ gpe-aerial | [] [] [] [] [] [] [] |
+ gpe-beam | [] [] [] [] [] [] [] |
+ gpe-bluetooth | [] [] |
+ gpe-calendar | [] [] [] [] |
+ gpe-clock | [] [] [] [] [] [] [] [] |
+ gpe-conf | [] [] [] [] [] [] [] |
+ gpe-contacts | [] [] [] [] [] |
+ gpe-edit | [] [] [] |
+ gpe-filemanager | [] [] [] |
+ gpe-go | [] [] [] [] [] [] [] [] |
+ gpe-login | [] [] |
+ gpe-ownerinfo | [] [] [] [] [] [] [] [] |
+ gpe-package | [] [] |
+ gpe-sketchbook | [] [] [] [] [] [] [] |
+ gpe-su | [] [] [] [] [] [] [] [] |
+ gpe-taskmanager | [] [] [] [] [] [] [] [] |
+ gpe-timesheet | [] [] [] [] [] [] [] [] |
+ gpe-today | [] [] [] [] [] [] [] [] |
+ gpe-todo | [] [] [] [] [] |
+ gphoto2 | [] [] [] [] [] [] [] [] |
+ gprof | [] [] [] |
+ gpsdrive | [] [] |
+ gramadoir | [] [] |
+ grep | [] [] [] [] |
+ grub | [] [] [] |
+ gsasl | [] [] [] [] |
+ gss | [] [] [] |
+ gst-plugins-bad | [] [] [] [] [] [] |
+ gst-plugins-base | [] [] [] [] [] |
+ gst-plugins-good | [] [] [] [] [] |
+ gst-plugins-ugly | [] [] [] [] [] [] |
+ gstreamer | [] [] [] [] [] |
+ gtick | [] [] [] |
+ gtkam | [] [] [] [] [] [] |
+ gtkorphan | [] |
+ gtkspell | [] [] [] [] [] [] [] [] [] [] |
+ gutenprint | [] [] |
+ hello | [] [] [] [] |
+ help2man | [] [] |
+ hylafax | [] |
+ idutils | [] [] [] [] [] |
+ indent | [] [] [] [] [] [] [] |
+ iso_15924 | [] [] [] [] |
+ iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] |
+ iso_3166_2 | [] [] [] |
+ iso_4217 | [] [] [] [] [] [] [] [] |
+ iso_639 | [] [] [] [] [] [] [] [] [] |
+ iso_639_3 | [] [] |
+ jwhois | [] [] [] [] |
+ kbd | [] [] [] |
+ keytouch | [] [] [] |
+ keytouch-editor | [] [] [] |
+ keytouch-keyboa... | [] [] [] |
+ klavaro | [] [] |
+ latrine | [] [] |
+ ld | |
+ leafpad | [] [] [] [] [] [] [] [] [] |
+ libc | [] [] [] [] |
+ libexif | [] [] () [] |
+ libextractor | |
+ libgnutls | [] [] |
+ libgpewidget | [] [] [] |
+ libgpg-error | [] [] |
+ libgphoto2 | [] [] |
+ libgphoto2_port | [] [] [] [] [] |
+ libgsasl | [] [] [] [] [] |
+ libiconv | [] [] [] [] [] |
+ libidn | [] [] |
+ lifelines | [] [] |
+ liferea | [] [] [] [] [] () () [] |
+ lilypond | [] |
+ linkdr | [] [] [] |
+ lordsawar | |
+ lprng | [] |
+ lynx | [] [] [] |
+ m4 | [] [] [] [] [] |
+ mailfromd | [] |
+ mailutils | [] |
+ make | [] [] [] [] |
+ man-db | [] [] [] |
+ man-db-manpages | [] [] [] |
+ minicom | [] [] [] [] |
+ mkisofs | [] [] [] |
+ myserver | |
+ nano | [] [] [] [] |
+ opcodes | [] [] |
+ parted | [] [] [] [] |
+ pies | [] |
+ popt | [] [] [] [] |
+ psmisc | [] [] [] |
+ pspp | [] [] |
+ pwdutils | [] |
+ radius | [] [] [] |
+ recode | [] [] [] [] [] [] [] [] |
+ rosegarden | () () |
+ rpm | [] [] [] |
+ rush | [] [] |
+ sarg | |
+ screem | |
+ scrollkeeper | [] [] [] [] [] [] [] [] |
+ sed | [] [] [] [] [] [] [] [] [] |
+ sharutils | [] [] [] [] |
+ shishi | [] |
+ skencil | [] [] |
+ solfege | [] [] [] [] |
+ solfege-manual | [] [] [] |
+ soundtracker | [] |
+ sp | |
+ sysstat | [] [] [] [] |
+ tar | [] [] [] [] |
+ texinfo | [] [] [] [] |
+ tin | [] |
+ unicode-han-tra... | |
+ unicode-transla... | |
+ util-linux-ng | [] [] [] [] [] |
+ vice | [] |
+ vmm | [] |
+ vorbis-tools | [] [] |
+ wastesedge | [] |
+ wdiff | [] [] |
+ wget | [] [] [] [] [] [] [] |
+ wyslij-po | [] [] [] |
+ xchat | [] [] [] [] [] [] [] [] [] |
+ xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
+ xkeyboard-config | [] [] [] |
+ +---------------------------------------------------+
+ nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
+ 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37
+
+ sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
+ +---------------------------------------------------+
+ a2ps | [] [] [] [] [] | 27
+ aegis | [] | 9
+ ant-phone | [] [] [] [] | 9
+ anubis | [] [] [] [] | 15
+ aspell | [] [] [] | 20
+ bash | [] [] [] | 12
+ bfd | [] | 6
+ bibshelf | [] [] [] | 16
+ binutils | [] [] | 8
+ bison | [] [] | 12
+ bison-runtime | [] [] [] [] [] [] | 29
+ bluez-pin | [] [] [] [] [] [] [] [] | 37
+ bombono-dvd | [] | 4
+ buzztard | [] | 7
+ cflow | [] [] [] | 9
+ clisp | | 10
+ coreutils | [] [] [] [] | 22
+ cpio | [] [] [] [] [] [] | 13
+ cppi | [] [] | 5
+ cpplib | [] [] [] [] [] [] | 14
+ cryptsetup | [] [] | 7
+ dfarc | [] | 9
+ dialog | [] [] [] [] [] [] [] | 30
+ dico | [] | 2
+ diffutils | [] [] [] [] [] [] | 30
+ dink | | 4
+ doodle | [] [] | 7
+ e2fsprogs | [] [] [] | 11
+ enscript | [] [] [] [] | 17
+ exif | [] [] [] | 16
+ fetchmail | [] [] [] | 17
+ findutils | [] [] [] [] [] | 20
+ flex | [] [] [] [] | 15
+ freedink | [] | 10
+ gas | [] | 4
+ gawk | [] [] [] [] | 18
+ gcal | [] [] | 5
+ gcc | [] [] [] | 7
+ gettext-examples | [] [] [] [] [] [] [] | 34
+ gettext-runtime | [] [] [] [] [] [] [] | 29
+ gettext-tools | [] [] [] [] [] [] | 22
+ gip | [] [] [] [] | 22
+ gjay | [] | 3
+ gliv | [] [] [] | 14
+ glunarclock | [] [] [] [] [] | 19
+ gnubiff | [] [] | 4
+ gnucash | () [] () [] () | 10
+ gnuedu | [] [] | 7
+ gnulib | [] [] [] [] | 16
+ gnunet | [] | 1
+ gnunet-gtk | [] [] [] | 5
+ gnutls | [] [] [] | 10
+ gold | [] | 4
+ gpe-aerial | [] [] [] | 18
+ gpe-beam | [] [] [] | 19
+ gpe-bluetooth | [] [] [] | 13
+ gpe-calendar | [] [] [] [] | 12
+ gpe-clock | [] [] [] [] [] | 28
+ gpe-conf | [] [] [] [] | 20
+ gpe-contacts | [] [] [] | 17
+ gpe-edit | [] [] [] | 12
+ gpe-filemanager | [] [] [] [] | 16
+ gpe-go | [] [] [] [] [] | 25
+ gpe-login | [] [] [] | 11
+ gpe-ownerinfo | [] [] [] [] [] | 25
+ gpe-package | [] [] [] | 13
+ gpe-sketchbook | [] [] [] | 20
+ gpe-su | [] [] [] [] [] | 30
+ gpe-taskmanager | [] [] [] [] [] | 29
+ gpe-timesheet | [] [] [] [] [] | 25
+ gpe-today | [] [] [] [] [] [] | 30
+ gpe-todo | [] [] [] [] | 17
+ gphoto2 | [] [] [] [] [] | 24
+ gprof | [] [] [] | 15
+ gpsdrive | [] [] [] | 11
+ gramadoir | [] [] [] | 11
+ grep | [] [] [] | 10
+ grub | [] [] [] | 14
+ gsasl | [] [] [] [] | 14
+ gss | [] [] [] | 11
+ gst-plugins-bad | [] [] [] [] | 26
+ gst-plugins-base | [] [] [] [] [] | 24
+ gst-plugins-good | [] [] [] [] | 24
+ gst-plugins-ugly | [] [] [] [] [] | 29
+ gstreamer | [] [] [] [] | 22
+ gtick | [] [] [] | 13
+ gtkam | [] [] [] | 20
+ gtkorphan | [] [] [] | 14
+ gtkspell | [] [] [] [] [] [] [] [] [] | 45
+ gutenprint | [] | 10
+ hello | [] [] [] [] [] [] | 21
+ help2man | [] [] | 7
+ hylafax | [] | 5
+ idutils | [] [] [] [] | 17
+ indent | [] [] [] [] [] [] | 30
+ iso_15924 | () [] () [] [] | 16
+ iso_3166 | [] [] () [] [] () [] [] [] () | 53
+ iso_3166_2 | () [] () [] | 9
+ iso_4217 | [] () [] [] () [] [] | 26
+ iso_639 | [] [] [] () [] () [] [] [] [] | 38
+ iso_639_3 | [] () | 8
+ jwhois | [] [] [] [] [] | 16
+ kbd | [] [] [] [] [] | 15
+ keytouch | [] [] [] | 16
+ keytouch-editor | [] [] [] | 14
+ keytouch-keyboa... | [] [] [] | 14
+ klavaro | [] | 11
+ latrine | [] [] [] | 10
+ ld | [] [] [] [] | 11
+ leafpad | [] [] [] [] [] [] | 33
+ libc | [] [] [] [] [] | 21
+ libexif | [] () | 7
+ libextractor | [] | 1
+ libgnutls | [] [] [] | 9
+ libgpewidget | [] [] [] | 14
+ libgpg-error | [] [] [] | 9
+ libgphoto2 | [] [] | 8
+ libgphoto2_port | [] [] [] [] | 14
+ libgsasl | [] [] [] | 13
+ libiconv | [] [] [] [] | 21
+ libidn | () [] [] | 11
+ lifelines | [] | 4
+ liferea | [] [] [] | 21
+ lilypond | [] | 7
+ linkdr | [] [] [] [] [] | 17
+ lordsawar | | 1
+ lprng | [] | 3
+ lynx | [] [] [] [] | 17
+ m4 | [] [] [] [] | 19
+ mailfromd | [] [] | 3
+ mailutils | [] | 5
+ make | [] [] [] [] | 21
+ man-db | [] [] [] | 8
+ man-db-manpages | | 4
+ minicom | [] [] | 16
+ mkisofs | [] [] | 9
+ myserver | | 0
+ nano | [] [] [] [] | 21
+ opcodes | [] [] [] | 11
+ parted | [] [] [] [] [] | 15
+ pies | [] [] | 3
+ popt | [] [] [] [] [] [] | 27
+ psmisc | [] [] | 11
+ pspp | | 4
+ pwdutils | [] [] | 6
+ radius | [] [] | 9
+ recode | [] [] [] [] | 28
+ rosegarden | () | 0
+ rpm | [] [] [] | 11
+ rush | [] [] | 4
+ sarg | | 1
+ screem | [] | 3
+ scrollkeeper | [] [] [] [] [] | 27
+ sed | [] [] [] [] [] | 30
+ sharutils | [] [] [] [] [] | 22
+ shishi | [] | 3
+ skencil | [] [] | 7
+ solfege | [] [] [] [] | 16
+ solfege-manual | [] | 8
+ soundtracker | [] [] [] | 9
+ sp | [] | 3
+ sysstat | [] [] | 15
+ tar | [] [] [] [] [] [] | 23
+ texinfo | [] [] [] [] [] | 17
+ tin | | 4
+ unicode-han-tra... | | 0
+ unicode-transla... | | 2
+ util-linux-ng | [] [] [] [] | 20
+ vice | () () | 1
+ vmm | [] | 4
+ vorbis-tools | [] | 6
+ wastesedge | | 2
+ wdiff | [] [] | 7
+ wget | [] [] [] [] [] | 26
+ wyslij-po | [] [] | 8
+ xchat | [] [] [] [] [] [] | 36
+ xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63
+ xkeyboard-config | [] [] [] | 22
+ +---------------------------------------------------+
+ 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
+ 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618
+
+ Some counters in the preceding matrix are higher than the number of
+visible blocks let us expect. This is because a few extra PO files are
+used for implementing regional variants of languages, or language
+dialects.
+
+ For a PO file in the matrix above to be effective, the package to
+which it applies should also have been internationalized and
+distributed as such by its maintainer. There might be an observable
+lag between the mere existence a PO file and its wide availability in a
+distribution.
+
+ If June 2010 seems to be old, you may fetch a more recent copy of
+this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
+matrix with full percentage details can be found at
+`http://translationproject.org/extra/matrix.html'.
+
+1.5 Using `gettext' in new packages
+===================================
+
+If you are writing a freely available program and want to
+internationalize it you are welcome to use GNU `gettext' in your
+package. Of course you have to respect the GNU Library General Public
+License which covers the use of the GNU `gettext' library. This means
+in particular that even non-free programs can use `libintl' as a shared
+library, whereas only free software can use `libintl' as a static
+library or use modified versions of `libintl'.
+
+ Once the sources are changed appropriately and the setup can handle
+the use of `gettext' the only thing missing are the translations. The
+Free Translation Project is also available for packages which are not
+developed inside the GNU project. Therefore the information given above
+applies also for every other Free Software Project. Contact
+`coordinator@translationproject.org' to make the `.pot' files available
+to the translation teams.
+
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..c19d1c8
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,51 @@
+GNU diff was written by Paul Eggert, Mike Haertel, David Hayes,
+Richard Stallman, and Len Tower.
+
+GNU diff3 was written by Randy Smith.
+
+GNU sdiff was written by Thomas Lord.
+
+GNU cmp was written by Torbjorn Granlund and David MacKenzie.
+
+The diffutils manual was written by David MacKenzie, Paul Eggert, and
+Richard Stallman. Parts are adapted by from a manual page written by
+Larry Wall, with his permission.
+
+Many other people have contributed to GNU diffutils, including Wayne
+Davison, Patrick D'Cruze, F. Thomas May, Greg McGary, Chip Rosenthal,
+and Eli Zaretskii.
+
+The following contributions warranted legal paper exchanges with the
+Free Software Foundation. Also see the files ChangeLog and THANKS.
+
+Leonard H. Tower Jr.
+Torbjorn Granlund
+Mike Haertel
+David S. Hayes
+Randall Smith
+Richard Stallman
+F. Thomas May
+Wayne Davison
+Paul R. Eggert
+Chip Rosenthal
+Wayne Davison
+Patrick D'Cruze
+Eli Zaretskii
+
+
+Copyright (C) 2001, 2006, 2009-2013, 2015-2017 Free Software Foundation, Inc.
+
+This file is part of GNU diffutils.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..bbd4867
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,2115 @@
+2017-05-21 Jim Meyering
+
+ version 3.6
+ * NEWS: Record release date.
+
+2017-05-19 Jim Meyering
+
+ gnulib: update to latest
+
+2017-05-18 Jim Meyering
+
+ maint: update to work with GCC7's -Werror=implicit-fallthrough=
+ * src/system.h (FALLTHROUGH): Define.
+ Use new FALLTHROUGH macro in place of comments
+ * src/cmp.c: FIXME
+ * src/diff3.c: FIXME
+ * src/ifdef.c: FIXME
+ * src/sdiff.c: FIXME
+ * src/side.c: FIXME
+ * src/util.c: FIXME
+
+ gnulib: update to latest
+
+2017-05-09 Jim Meyering
+
+ tests: new-file: closed-stdin: also ensure stdout was empty
+ * tests/new-file: Also require that "out" be empty.
+
+2017-05-06 Jim Meyering
+
+ maint: stop using @acronym{...} in texinfo sources
+ * doc/diffutils.texi: Remove all uses of @acronym{...},
+ per recommendation by Karl Berry.
+ * cfg.mk (local-checks-to-skip): Remove exemption, enabling
+ the @acronym{-prohibiting syntax-check rule.
+
+2017-05-05 Paul Eggert
+
+ cmp: improve EOF diagnostic
+ This improves on yesterday's change, following up on a
+ remark by Jim Meyering (Bug#22816#21).
+ * doc/diffutils.texi (Invoking cmp, cmp Options): Follow POSIX more
+ closely in the documentation of the information appended to the EOF
+ diagnostic.
+ * src/cmp.c (cmp): Be more specific about the shorter file's length
+ and fix some off-by-1 issues in reporting line counts.
+ * tests/cmp: Adjust to match new behavior.
+ Don't assume internal details about stdio buffering.
+
+2017-05-04 Benno Schulenberg
+
+ diff: describe each --help option with a single string
+ * src/diff.c: To ease translating, fuse four description pieces
+ into two whole ones. Also reword and rewrap one of them to fit
+ within eighty characters.
+
+2017-05-04 Paul Eggert
+
+ cmp: report prefix length when one file is shorter
+ Requested by Dan Jacobson (Bug#22816).
+ * NEWS:
+ * doc/diffutils.texi (Invoking cmp, cmp Options): Document this.
+ * src/cmp.c (cmp): Implement it.
+ * tests/Makefile.am (TESTS): Add cmp.
+ * tests/cmp: New file.
+
+2017-05-02 Jim Meyering
+
+ tests: add test for latest fix
+ * NEWS (Bug fixes): Describe it.
+ * tests/invalid-re: New test for just-fixed bug.
+ * tests/Makefile.am (TESTS): Add it.
+
+ gnulib: update to latest
+
+2017-04-27 Paul Eggert
+
+ diff: don't crash if regexp is invalid
+ Problem reported by Marcel Böhme in:
+ http://lists.gnu.org/archive/html/bug-diffutils/2017-04/msg00002.html
+ * src/diff.c (add_regexp): Exit if re_compile_pattern fails.
+
+2017-03-24 julama
+
+ tests: avoid false failure for unreadable /proc/cmdline
+ * tests/brief-vs-stat-zero-kernel-lies: Use "test -r" rather than
+ just "test -f". This avoids a false test failure on a linux system
+ with grsecurity and its GRKERNSEC_PROC_USER option enabled, for which
+ /proc/cmdline is unreadable. Reported in https://bugs.gnu.org/26155
+
+2017-02-01 Jim Meyering
+
+ tests: avoid false failure with some shells on debian, freebsd
+ * tests/colors: Move the TERM=dumb setting into the code run by
+ "returns_", since some shells do not propagate envvar setting through
+ to a use of a function like this. That would cause this test to fail
+ because results were colorized when they should not have been.
+ Reported by Nelson Beebe.
+
+2017-01-31 Jim Meyering
+
+ maint: add "introduced in 3.4" in latest NEWS entry
+ * NEWS: Update. Also, thanks to Nelson Beebe for reporting this.
+
+ diff: avoid UMR with ---presume-output-tty
+ * src/diff.c (main): Always define presume_output_tty.
+ Otherwise, it would be read uninitialized.
+ Introduced in v3.3-45-g17e2698
+ * NEWS (Bug fixes): Mention it.
+
+ gnulib: update to latest; and update bootstrap and init.sh
+
+ maint: change "time stamp" to "timestamp" globally
+ This avoids a new syntax-check failure.
+ * ChangeLog-2008: Perform that change.
+ * doc/diffutils.texi: Likewise.
+ * NEWS: Likewise.
+ * cfg.mk: Update the old news hash accordingly.
+
+2017-01-01 Jim Meyering
+
+ maint: update gnulib and copyright dates for 2017
+ * gnulib: Update to latest.
+ * all files: Run "make update-copyright".
+
+2016-11-08 Jim Meyering
+
+ tests: use "returns_" rather than explicit comparison with "$?"
+ * tests/colors: Use "returns_ 1" rather than testing $? = 1
+ * tests/basic: Likewise.
+ * tests/binary: Likewise.
+ * tests/filename-quoting: Likewise.
+ * tests/function-line-vs-leading-space: Likewise.
+ * tests/ignore-matching-lines: Likewise.
+ * tests/label-vs-func: Likewise.
+ * tests/new-file: Likewise.
+ * tests/no-dereference: Likewise.
+ * tests/no-newline-at-eof: Likewise.
+ * tests/stdin: Likewise.
+
+2016-10-25 Paul Eggert
+
+ diff: fix big performance degradation in 3.4
+ * NEWS, doc/diffutils.texi (Overview): Document this.
+ * src/analyze.c (diff_2_files): Restore too_expensive heuristic,
+ but this time with a floor that is 16 times the old floor. This
+ should fix Bug#16848, by generating good-quality output for its
+ test case, while not introducing Bug#24715, by running nearly as
+ fast as diff-3.3 for that test case.
+
+ build: update gnulib submodule to latest
+
+2016-10-16 Jim Meyering
+
+ maint: use die rather than error
+ Use "die (N, ..." rather than "error (N, ..." whenever N is a nonzero
+ constant. That lets the compiler know that control never goes beyond
+ that point, and thus makes unnecessary the occasional following
+ "abort ();" or "break;" statement we have historically added to inform
+ static analysis tools of this aspect of "error" semantics.
+ * src/die.h: New file.
+ * src/Makefile.am (noinst_HEADERS): Add it.
+ * src/cmp.c: Use die in place of error whenever the first
+ argument is a nonzero constant. Also remove any immediately-
+ following call to abort, and include "die.h".
+ * src/diff.c: Likewise.
+ * src/diff3.c: Likewise.
+ * src/sdiff.c: Likewise.
+ * src/util.c: Likewise.
+
+2016-10-02 Jim Meyering
+
+ gnulib: update to latest
+
+ build: avoid GCC 7's new warnings
+ * src/util.c (get_funky_string): Adjust comment so that GCC 7's
+ -Wimplicit-fallthrough recognizes it.
+ * src/diff3.c (main): Cast boolean MERGE to "int" to avoid this:
+ diff3.c:341:25: error: '~' on a boolean expression \
+ [-Werror=bool-operation]
+
+2016-08-30 Jim Meyering
+
+ gnulib: update to latest
+
+2016-08-29 Jim Meyering
+
+ gnulib: update to latest, to port to upcoming GCC 7
+ This fixes compilation errors when using gcc-7-to-be that were
+ due to missing backslashes in gnulib's intprops.h and an API
+ change in functions like __builtin_add_overflow. This ports
+ to GCC 7's newer built-in overflow-checking functions.
+
+2016-08-28 Paul Eggert
+
+ diff: don't assume ptrdiff_t <= long long int
+ * src/system.h (printint, pI): Port to (theoretical) platforms
+ where ptrdiff_t is wider than long long int (Bug#24311).
+
+2016-08-27 Paul Eggert
+
+ diff: port line numbers to mingw64
+ Problem reported by Peter Rosin (Bug#24311).
+ * src/system.h (printint, pI): New typedef and macro.
+ All uses of 'long int' and "%l" in printf format replaced by
+ 'printint' and "%"pI respectively.
+ * src/ifdef.c (do_printf_spec): Don't assume pI is length 1.
+
+2016-08-20 Jim Meyering
+
+ maint: post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 3.5
+ * NEWS: Record release date.
+
+2016-08-16 Jim Meyering
+
+ build: arrange to build with -fno-common, when possible
+ * configure.ac (WERROR_CFLAGS): Add -fno-common, when possible.
+ This would have prevented the duplicate definition of
+ presume_output_tty that was fixed in v3.4-10-gc2dc91f.
+
+2016-08-16 Hanno Böck
+
+ diff: avoid duplicate definition of presume_output_tty
+ * src/util.c (presume_output_tty): Remove this definition.
+ The other is in diff.h. Reported in https://bugs.gnu.org/24248
+
+2016-08-14 Jim Meyering
+
+ gnulib: update to latest
+
+ tests: diff3: work around missing seq on some systems
+ * tests/diff3 (seq): Provide a seq replacement function,
+ since at least AIX, SunOS 5.10, OpenBSD-5.8 lack it.
+ Reported by Assaf Gordon in https://bugs.gnu.org/24227#8
+
+2016-08-13 Jim Meyering
+
+ diff3: fix leaks, for real
+ * src/diff3.c (struct diff_block)[lint]: Add member, n2.
+ (free_diff_block, next_to_n2): New functions.
+ * tests/diff3: Add more test coverage.
+
+ maint: require that commit messages be of a certain form
+ * bootstrap.conf (bootstrap_epilogue): Merge from coreutils, so that
+ a local commit hook will now help enforce consistent commit messages.
+ * Makefile.am (check-git-hook-script-sync): New rule, largely copied
+ from coreutils.
+ * scripts/git-hooks/commit-msg: New file, from coreutils, but
+ with adapted list of program names.
+ * scripts/git-hooks/applypatch-msg: New file, from git.
+ * scripts/git-hooks/pre-applypatch: Likewise.
+ * scripts/git-hooks/pre-commit: Likewise.
+
+2016-08-13 Bastian Beischer
+
+ diff3: fix heap use-after-free; add minimal diff3 test coverage
+ Commit v3.3-42-g3b74a90, "FIXME: src/diff3: plug a leak" added an
+ invalid use of free, leading to use-after-free in nearly any invocation
+ of diff3. Revert that commit.
+ * NEWS (Bug fixes): Mention it.
+ * tests/diff3: New file, to add minimal test coverage.
+ * tests/Makefile.am (TESTS): Add it.
+ Reported by Bastian Beischer in http://bugs.gnu.org/24210
+
+2016-08-13 Jim Meyering
+
+ build: ignore texinfo build artifacts
+ * .gitignore: Ignore texinfo artifacts in doc/.
+
+ maint: diff3: remove an unreachable statement
+ * src/diff3.c (main): Remove unreachable "return" after exit from main.
+
+2016-08-08 Jim Meyering
+
+ diff: disable colorization for TERM=dumb
+ * src/diff.c (main): With --color or --color=auto, when TERM is
+ "dumb", disable colorization. Suggested by Daniel Colascione.
+ * NEWS (Bug fixes): Mention it.
+ * tests/colors: Add a test that would fail without this change,
+ yet passes with it.
+
+ maint: post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 3.4
+ * NEWS: Record release date.
+
+2016-08-06 Jim Meyering
+
+ gnulib: update to latest
+
+ tests: tweak built_programs definition
+ * tests/Makefile.am (built_programs): Adjust to work around what
+ may be a problem due to interaction between Solaris 10's /bin/sh
+ and an old version of GNU make. Reported by Dagobert Michelsen
+ in https https://bugs.gnu.org/24137.
+
+2016-08-02 Jim Meyering
+
+ gnulib: update to latest
+
+ tests: skip a /proc/self-dependent test on the Hurd
+ * tests/brief-vs-stat-zero-kernel-lies: The Hurd's /proc/self
+ is not useful, so detect that and skip the test that requires it.
+ Reported by Assaf Gordon in https://debbugs.gnu.org/24121#29
+
+2016-08-01 Jim Meyering
+
+ tests/colors: fix portability problem with touch --date
+ * tests/colors (epoch): Don't use GNU touch's --date=$epoch option.
+ Use the portable -t 197001010000.00.
+ Reported by Assaf Gordon in https://debbugs.gnu.org/24121#8
+
+ build: Solaris 9: avoid link failure due to isblank use
+ * bootstrap.conf (gnulib_modules): Add isblank, to avoid a link
+ error on Solaris 9 Sparc. Reported by Dagobert Michelsen.
+
+ test: improve test infrastructure
+ * tests/envvar-check: New file, copied from grep, with the addition
+ of the EDITOR and GREP_OPTIONS envvar names.
+ * tests/Makefile.am (EXTRA_DIST): Add it.
+ (TESTS_ENVIRONMENT): Revamp, to be more like that of grep.
+
+2016-07-31 Jim Meyering
+
+ maint: remove gl/lib/reg*.c.diff; no longer needed
+ * gl/lib/regcomp.c.diff: Remove file, now that gnulib's
+ regcomp.c compiles regex.c with -Wno-unused-parameter.
+ * gl/lib/regex_internal.c.diff: This file induced a change to ensure
+ that the "Idx" type was unsigned and to remove a few "VAR < 0"
+ comparisons. These days, it is probably fine to stay in sync with
+ gnulib/glibc's copies
+ of these files, so remove these patches, too.
+ * gl/lib/regexec.c.diff: Likewise.
+ Prompted by a report by Assaf Gordon and a suggestion from Paul Eggert.
+
+ tests: colors: fix a portability problem and work around a shell bug
+ * tests/colors (e): Fix a portability bug: use printf '\033'
+ rather than '\e' to generate the required byte sequence, since
+ for some shells (at least dash 0.5.8), the latter doesn't work.
+ Work around a shell bug whereby "local tab=$(printf '\t')"
+ would result in an empty value for "$tab": hoist each "tab"
+ definition up/out of its function to global scope.
+ Reported by Assaf Gordon in http://debbugs.gnu.org/24116#8
+
+2016-07-23 Jim Meyering
+
+ gnulib: update to latest; and tests/init.sh
+ * gnulib: Update to latest.
+ * init.sh: Update from gnulib.
+
+2016-05-30 Jim Meyering
+
+ maint: arrange for "make distcheck" to work with unreleased automake
+ * dist-check.mk (my-distcheck): Remove all .deps directories
+ before performing the recursive comparison.
+
+2016-05-24 Glenn Morris
+
+ doc: fix a reference to emacs' emerge node
+ * doc/diffutils.texi (Interactive Merging): Correct a reference to
+ emacs' emerge node: s/emerge/Emerge/.
+ This addresses http://debbugs.gnu.org/23613
+
+2016-04-30 Jim Meyering
+
+ maint: arrange for better URLs in generated announcement message
+ * cfg.mk (url_dir_list): Define. I had been correcting the generated
+ URLs by hand, just before the announcement. This is better.
+
+2016-03-15 Jim Meyering
+
+ maint: don't ignore gitlog-to-changelog failure
+ * Makefile.am (gen-ChangeLog): Don't ignore failure of
+ gitlog-to-changelog. This syncs to coreutils' copy of this rule.
+
+2016-03-06 Giuseppe Scrivano
+
+ diff: --color: fix an infinite recursion bug
+ * src/diff.h (presume_output_tty): New extern variable.
+ * src/diff.c (PRESUME_OUTPUT_TTY_OPTION): New enum.
+ (group_format_option): Add '-presume-output-tty'.
+ (main): Handle PRESUME_OUTPUT_TTY_OPTION.
+ * src/util.c: New variable `presume_output_tty'.
+ (check_color_output): Handle presume_output_tty.
+ (set_color_context): Call process_signals only when color_context is
+ not RESET_CONTEXT.
+ * tests/colors: Check that diff doesn't crash when interrupted
+ in the middle of a color sequence.
+
+ Reported by Gisle Vanem in http://debbugs.gnu.org/22067
+
+2016-01-31 Jim Meyering
+
+ maint: update prereq version of gettext
+ * configure.ac: Increase designated gettext version to 0.19.2
+ * bootstrap.conf (buildreq): Likewise.
+ Remove now-unnecessary code to remove gettext-provided files.
+
+ gnulib: update to latest
+
+2016-01-01 Jim Meyering
+
+ FIXME: src/diff3: plug a leak
+
+2016-01-01 Jim Meyering
+
+ maint: update copyright year, bootstrap, init.sh
+ Run "make update-copyright" and then...
+
+ * gnulib: Update to latest.
+ * tests/init.sh: Update from gnulib.
+ * bootstrap: Likewise.
+
+2015-12-06 Jim Meyering
+
+ diff --brief no longer mistakenly reports diff. with 0-sized /proc/ files
+ Normally, it is safe to assume two regular files are different when
+ their st_size values are different. However, that assumption may
+ be invalid if either value is zero, as happens with files on Linux
+ /proc and /sys file systems. Since skipping this optimization will
+ usually cost very little (one read syscall, to read zero bytes),
+ it is fine to accommodate those unusual files.
+ * src/analyze.c (diff_2_files): Do not assume regular files differ
+ just because their st_size values differ when one or more is 0.
+ * src/diff.c (compare_files): Likewise.
+ * tests/brief-vs-proc-stat-zero: New test.
+ * tests/Makefile.am: Add it.
+ * NEWS (Bug fixes): Describe it.
+ Reported by Stephan Müller in http://debbugs.gnu.org/21942
+
+ tests: arrange to print any skipped-test explanation to tty, too
+ I noticed that when a test was skipped, the reason was not printed.
+ This fixes it. In coreutils, this variable is set in init.cfg,
+ but there is no point in putting the definition so far from the
+ code that chooses the file descriptor number in tests/Makefile.am.
+ * tests/Makefile.am (TESTS_ENVIRONMENT) [stderr_fileno_]: Define
+ here (to 9), right next to the companion "9>&2".
+
+2015-11-29 Jim Meyering
+
+ build: add gperf to the list of required programs
+ * bootstrap.conf (buildreq): Add gperf to the list.
+ Reported by Stephan Müller in http://debbugs.gnu.org/21945
+
+2015-11-29 Giuseppe Scrivano
+
+ tests: Add tests for --color and --palette
+ * tests/colors: New file.
+ * tests/Makefile.am (TESTS): Add colors.
+
+ doc: mention --color and --palette in NEWS
+
+ diff: add --palette
+ * bootstrap (gnulib_modules): Add 'argmatch'.
+ * doc/diffutils.texi: Add documentation for --palette
+ * src/diff.h (set_color_palette): New prototype.
+ * src/diff.c (set_color_palette): New function.
+ (color_palette): New variable.
+ * src/utils.c: Include "argmatch.h".
+ (struct bin_str): New struct.
+ (struct color_ext_type): New struct.
+ (color_indicator): New array.
+ (indicator_name): New array.
+ (indicator_no): New enum.
+ (parse_state): New enum.
+ (put_indicator): New function.
+ (get_funky_string): New function. Copied from coreutils ls.
+ (parse_diff_color): New function. Copied from coreutils ls
+ "parse_ls_color" function.
+ (set_color_context): Use put_indicator instead of directly
+ outputting the sequence.
+ * po/POTFILES.in: Add 'lib/argmatch.c'
+
+ diff: add support for --color
+ * doc/diffutils.texi (diff Options): Add documentation for --color.
+ Copied from coreutils ls --color.
+ * src/context.c (pr_unidiff_hunk): Set the color context.
+ (print_context_header): Likewise.
+ (pr_context_hunk): Likewise.
+ * src/diff.h (enum colors_style): New enum to record when to use colors.
+ (colors_style): New variable to memorize the argument value.
+ (set_color_context): Add function definition.
+ * src/diff.c: : Define COLOR_OPTION.
+ (specify_colors_style): New function.
+ (longopts): Add --color.
+ (main): Handle --color argument.
+ (option_help_msgid): Add usage string for --color.
+ * src/normal.c (print_normal_hunk): Set the color context.
+ * src/side.c (print_1sdiff_line): Likewise.
+ * src/util.c (print_1_line_nl): New function.
+ (print_1_line): Make it a wrapper of 'print_1_line_nl'.
+ (colors_enabled): New boolean variable.
+ (begin_output): Call check_color_output once the output file is
+ configured.
+ (output_1_line): Periodically call `process_signals'.
+ (caught_signals): New sigset_t.
+ (colors_enabled): New boolean variable.
+ (interrupt_signal): New sig_atomic_t.
+ (stop_signal_count): New sig_atomic_t.
+ (check_color_output): New function.
+ (install_signal_handlers): Likewise. Copied from coreutils ls.
+ (process_signals): Likewise. Copied from coreutils ls.
+ (set_color_context): New function.
+ (sighandler): Likewise. Copied from coreutils ls.
+ (stophandler): Likewise. Copied from coreutils ls.
+
+2015-09-24 Andreas Grünbacher
+
+ diff: Improve help text of option --label
+ * src/diff.c (option_help_msgid): Improve help text of option --label.
+
+2015-09-01 Jim Meyering
+
+ build: correct man-page generation rule
+ The PATH was set incorrectly, so that the diff used by
+ help2man was the one from $PATH, rather than the just-built
+ one.
+ * man/Makefile.am (bin_dir): New variable, to...
+ (dist_man1_MANS): ...prepend ../src to PATH, not just "..".
+ Also, add a test to ensure that each $(bin_dir)/$$base is
+ executable, so this doesn't happen again.
+ In http://debbugs.gnu.org/21023, Rodrigo Valiña
+ Gutiérrez reported that diff.1 from the diffutils-3.3 tarball
+ contained no description of the then-new --no-dereference option.
+
+2015-07-10 Jim Meyering
+
+ doc: --no-dereference: improve wording/description
+ * doc/diffutils.texi (Comparing Directories): Correct grammar.
+ (diff Options) [--no-dereference]: Say a little more.
+
+2015-01-01 Jim Meyering
+
+ maint: update copyright year ranges to include 2015; update gnulib
+
+2014-12-12 KO Myung-Hun
+
+ diff: skip test if seek is not possible on OS/2 kLIBC
+ This fixes the problem that 'diff - file' and 'cat file | diff - file'
+ fail due to a seek failure with a message 'diff.exe: -: Invalid seek',
+ because seek does not work on stdin and a pipe on OS/2 kLIBC.
+
+ * src/io.c (sip): Set skip_test to true if seek is not possible on
+ OS/2 kLIBC.
+
+2014-12-09 Jim Meyering
+
+ gnulib: update to latest
+
+2014-12-09 KO Myung-Hun
+
+ build: double-quote use of $PATH
+ * man/Makefile.am (dist_man1_MANS): On OS/2, PATH_SEPARATOR is ';',
+ but unquoted, that is interpreted as the shell's statement
+ terminator. Quote it.
+
+2014-10-27 Paul Eggert
+
+ diff: fix integer overflow problem with --tabsize
+ Reported by Tobias Stoeckmann in: http://bugs.gnu.org/18857
+ * src/diff.c (main): Don't overflow if INTMAX_MAX / 2 < tabsize.
+ * tests/bignum: New file, to test for this bug.
+ * tests/Makefile.am (TESTS): Add it.
+
+2014-09-03 Paul Eggert
+
+ doc: mention diff -B fix in NEWS
+
+ diff: fix bug with diff -B and incomplete lines
+ Reported by Navin Kabra via Eric Blake in:
+ http://bugs.gnu.org/18402
+ * src/util.c (analyze_hunk): Don't mishandle incomplete
+ lines at end of file.
+ * tests/no-newline-at-eof: Test for the bug.
+
+ diff: fix performance bug with prefix computation
+ * src/io.c (find_identical_ends): Fix performance bug:
+ the test for when the prefix was needed messed up by
+ the 2002-02-28 integer-overflow fixes, causing performance to be
+ worse than it needed to be.
+
+2014-08-23 Jim Meyering
+
+ gnulib: update to latest, as well as bootstrap
+
+ maint: update copyright year range in texinfo documentation
+ * doc/diffutils.texi: Update copyright.
+
+2014-04-15 Jim Meyering
+
+ maint: update bug-reporting address
+ * README: Change bug-gnu-utils@... to bug-diffutils@gnu.org.
+ * doc/diffutils.texi: Likewise.
+ Reported by Jamie Landeg Jones.
+
+2014-03-26 Paul Eggert
+
+ diff: fix two "..." typos in --help output
+ * src/diff.c (option_help_msgid): Remove two "..." typos (Bug#17102).
+
+2014-03-25 Paul Eggert
+
+ doc: improve documentation about reading and stdin
+ See Bug#17075.
+ * doc/diffutils.texi (Comparison): Say that files need not be read.
+ (Invoking diff): Remove confusing remark about 'diff - -'.
+ It's not that useful, and it's not portable anyway.
+
+2014-02-24 Paul Eggert
+
+ diff, sdiff: minor integer overflow fixes
+ * src/context.c (find_hunk):
+ Simplify, now that 2 * context + 1 cannot overflow.
+ * src/diff.c (main):
+ * src/sdiff.c (interact):
+ Don't rely on undefined behavior on signed integer overflow.
+ * src/diff.c (main): Don't let contexts exceed CONTEXT_MAX.
+ * src/system.h (CONTEXT_MAX): New macro.
+
+ diff: fix bug with -I and overlapping hunks
+ Problem reported by Vincent Lefevre in .
+ * src/context.c (find_hunk): Threshold is CONTEXT only if
+ the second change is ignorable.
+ * tests/ignore-matching-lines: New test.
+ * tests/Makefile.am (TESTS): Add it.
+
+2014-02-23 Paul Eggert
+
+ diff: remove TOO_EXPENSIVE heuristic
+ Problem reported by Vincent Lefevre in .
+ The simplest solution is to remove the TOO_EXPENSIVE heuristic
+ that I added to GNU diff in 1993. Although appropriate for
+ circa-1993 hardware, these days the heuristic seems to be more
+ trouble than it's worth.
+ * NEWS: Document this.
+ * doc/diffutils.texi (Overview): Modernize citations.
+ Remove mention of TOO_EXPENSIVE heuristic.
+ * src/analyze.c (diff_2_files): Adjust to TOO_EXPENSIVE-related
+ API changes in gnulib's diffseq module.
+
+ build: update gnulib submodule to latest
+
+2014-01-31 Paul Eggert
+
+ diff: exit with status 1, not 2, when binary files differ
+ Problem reported by Vincent Lefevre in .
+ * NEWS:
+ * doc/diffutils.texi (Binary, Invoking diff): Document this.
+ * src/analyze.c (briefly_report): Return void, not int.
+ All uses changed. Do not futz with exit status. Simplify.
+ * tests/binary: Adjust to match new behavior.
+
+2013-09-26 Paul Eggert
+
+ build: omit -Wsuggest-attribute=pure for lib
+ * configure.ac (WARN_CFLAGS): Omit -Wsuggest-attribute=pure
+ when compiling the lib subdirectory. Reported for Fedora 19
+ by Eric Blake in .
+
+2013-08-22 Paul Eggert
+
+ cmp, diff, sdiff: tune by using rawmemchr
+ On my platform (AMD Phenom II X4 910e, Fedora 17 x86-64), this sped up
+ 'cmp -n 8GiB /dev/full /dev/zero' by a factor of 3.8, and
+ 'cmp -sn 8GiB /dev/full /dev/zero' by a factor of 1.8.
+ * bootstrap.conf (gnulib_modules): Add rawmemchr.
+ * src/cmp.c (cmp): Optimize the common case where buffers are the same,
+ by using count_newlines rather than block_compare_and_count.
+ (block_compare_and_count): Remove.
+ (count_newlines): New function.
+ * src/cmp.c (count_newlines):
+ * src/io.c (prepare_text):
+ * src/sdiff.c (lf_copy, lf_skip, lf_snarf):
+ Use rawmemchr instead of memchr, for speed.
+
+2013-08-12 Paul Eggert
+
+ cmp: tune 'cmp a b' for GCC x86
+ Performance problem reported by David Balažic in:
+ http://lists.gnu.org/archive/html/bug-diffutils/2013-08/msg00013.html
+ * src/system.h (word): Make it size_t, not uintmax_t.
+ This sped up plain cmp 90% on my tests (GCC 4.8.1, x86).
+
+2013-07-06 Paul Eggert
+
+ build: update gnulib submodule to latest
+
+2013-05-06 Stefano Lattarini
+
+ build: enable 'subdir-objects' automake option
+ The future major Automake version (2.0, ETA at least one year from now)
+ might enable that option unconditionally, so better get prepared in due
+ time.
+
+ * configure.ac (AM_INIT_AUTOMAKE): Adjust.
+ (AM_PROG_CC_C_O): New, required by Automake up to 1.13.x when the
+ 'subdir-objects' is in use.
+
+2013-04-28 Paul Eggert
+
+ build: update gnulib submodule to latest
+
+2013-04-03 Paul Eggert
+
+ diff: fix bug with Asian file names
+ Problem reported by Errembault Philippe in:
+ http://lists.gnu.org/archive/html/bug-diffutils/2013-03/msg00012.html
+ * NEWS: Document this.
+ * src/dir.c (compare_names): Fall back on file_name_cmp if
+ compare_collated returns 0, unless ignoring file name case.
+ (diff_dirs): Don't bother with the O(N**2) stuff unless ignoring
+ file name case.
+ * tests/Makefile.am (TESTS): Add strcoll-0-names.
+ * tests/strcoll-0-names: New file.
+
+ diff: remove unnecessary decl
+ * src/dir.c (compare_names_for_qsort): Remove declaration.
+ Not needed now that we assume C89.
+
+ diff: tune compare_names_for_qsort
+ * src/dir.c (compare_collated): New function.
+ (compare_names): Use it.
+ (compare_names_for_qsort): Use it. This is a bit more efficient
+ as it can avoid a double invocation of file_name_cmp when
+ file_name_cmp returns zero.
+
+2013-03-30 Jim Meyering
+
+ doc: mention new option, --no-dereference in 3.3's NEWS
+ * NEWS (New feeatures): Update 3.3's news to mention --no-dereference.
+ Reported by Denis Excoffier.
+ * Makefile.am (old_NEWS_hash): Update, since this modifies old, and
+ normally-immutable NEWS.
+
+2013-03-26 Paul Eggert
+
+ tests: port to Solaris 10 /bin/sh
+ * tests/Makefile.am (TESTS_ENVIRONMENT):
+ Use "FOO=val; export FOO" rather than "export FOO=val",
+ as the latter form doesn't work with Solaris /bin/sh.
+ Problem found when trying to run "make check" on Solaris 10.
+
+2013-03-24 Jim Meyering
+
+ maint: post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 3.3
+ * NEWS: Record release date.
+
+2013-03-23 Paul Eggert
+
+ doc: fix menu typo
+ * doc/diffutils.texi (Comparing Three Files): Fix out-of-order menu.
+ Bug caught by Texinfo 5.0.
+
+ maint: update build procedure to recent gettext etc.
+ * bootstrap.conf (gnulib_modules): Add vararrays.
+ (needed_gnulib_files, unnecessary_gettext_files): New vars.
+ (bootstrap_post_import_hook): New function, to implement these vars.
+ (excluded_files): Remove; 'bootstrap' no longer supports this.
+ Its function is now performed by unnecessary_gettext_files.
+ (buildreq): Update automake to 1.12.2, to avoid CVE-2012-3386.
+ * configure.ac (AM_GNU_GETTEXT_VERSION): Bump from 0.17 to 0.18.2,
+ to lessen the probability that we'll have outlandishly old files
+ during a build.
+ * m4/vararrays.m4: Remove from repository, as we now use the
+ gnulib version.
+
+2013-03-21 Jim Meyering
+
+ build: update gnulib to latest and adapt; update bootstrap, too
+ Blindly updating to the latest from gnulib, bootstrap would
+ fail due to failure of our local patches to apply. Hence,
+ these first two updates.
+ * gl/lib/regex_internal.c.diff: Update offsets, so this patch
+ applies to the latest from gnulib.
+ * gl/lib/regex_internal.h.diff: Remove file. No longer needed.
+ * bootstrap: Update from gnulib.
+
+2013-01-06 Paul Eggert
+
+ tests: port to hosts lacking fmt, make -C
+ * tests/Makefile.am (built_programs): Don't assume fmt works.
+ Don't rely on 'make -C', either.
+
+ maint: update .gitignore for recent gnulib
+ * .gitignore: Add tests/*.trs and several *.h and *.sed files in lib,
+
+2013-01-04 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ maint: update all copyright year number ranges
+ Run "make update-copyright".
+
+2012-10-23 Eric Blake
+
+ build: default to --enable-gcc-warnings in a git tree
+ Anyone building from cloned sources can be assumed to have a new
+ enough environment, such that enabling gcc warnings by default will
+ be useful. Tarballs still default to no warnings, and the default
+ can still be overridden with --disable-gcc-warnings.
+ * configure.ac (gl_gcc_warnings): Set default based on environment.
+
+2012-10-03 Paul Eggert
+
+ * doc/diffutils.texi (cmp Options): Document -l format better.
+
+2012-09-10 Jim Meyering
+
+ maint: use xasprintf in place of xmalloc+sprintf
+ * bootstrap.conf (gnulib_modules): Add gnulib's xvasprintf module.
+ * src/util.c: Include "xvasprintf.h".
+ (begin_output): Use xasprintf in place of xmalloc+sprintf.
+
+2012-09-10 Andreas Gruenbacher
+
+ diff: encode file names with special characters
+ * src/util.c (c_escape_char): New function.
+ (c_escape): New function.
+ (begin_output): Escape file names when needed.
+ * src/context.c (print_context_header): New names parameter.
+ (print_context_label): New name parameter.
+ * src/diff.h (print_context_header): Change prototype.
+ * tests/filename-quoting: New file.
+ * NEWS: Document this change.
+
+2012-08-30 Paul Eggert
+
+ diff: silence GCC warning instead of slowing down
+ * src/dir.c (find_dir_file_pathname): Use 'IF_LINT (volatile)' to
+ silence the gcc warning, rather than using 'volatile', as the
+ warning appears to be bogus.
+
+2012-08-28 Jim Meyering
+
+ diff: avoid possible longjmp-triggered misbehavior
+ * src/dir.c (find_dir_file_pathname): gcc 4.8.0 20120825 reported
+ that a local variable's value might be clobbered. Declare "match"
+ to be volatile.
+
+ build: update gnulib, bootstrap and init.sh to latest
+
+ maint: avoid new syntax-check failure due to @xref use
+ * doc/diffutils.texi: Change several "; @xref{..." to ". @xref{...",
+ since @xref should start a sentence.
+
+2012-05-15 Paul Eggert
+
+ maint: remove ms subdirectory
+ diffutils is now designed to build with Cygwin or MinGW.
+ The old DJGPP stuff probably doesn't work anyway.
+ * Makefile.am (SUBDIRS): Remove ms.
+ * NEWS: Document this.
+ * configure.ac (AC_CONFIG_FILES): Remove ms/Makefile.
+ * ms/Makefile.am, ms/README, ms/config.bat, ms/config.sed:
+ * ms/config.site: Remove.
+
+2012-05-14 Paul Eggert
+
+ maint: update bootstrap from gnulib
+ * bootstrap: Update from gnulib.
+
+ main: port subcommands to mingw
+ Problem reported by Eli Zaretskii in
+ .
+ Approach suggested by Bruno Haible as option (4) in
+ .
+ * bootstrap.conf (gnulib_modules): Add system-quote.
+ * src/diff3.c, src/sdiff.c, src/util.c:
+ Include , not .
+ * src/diff3.c (read_diff):
+ * src/sdiff.c (main, edit):
+ * src/util.c (begin_output):
+ Use system_quote_argv, for portability to Mingw.
+ * src/sdiff.c (NUM_SIGS, handler_index_of_SIGINT): Now enum
+ values, not macros; this is cleaner and avoids a GCC warning if
+ !HAVE_WORKING_VFORK.
+ * src/util.c (begin_output) [! HAVE_WORKING_FORK]: Do not use -f,
+ for consistency with the HAVE_WORKING_FORK code.
+
+ maint: update bootstrap from gnulib
+ * bootstrap: Update from gnulib.
+
+ maint: m4/gnulib-cache.m4 is not under version control
+ This is like what coreutils does, and suppresses 'git status' chatter.
+ * .gitignore: Add /m4/gnulib-cache.m4.
+
+ Use binary mode when testing for binary files.
+ This reverts the 2006-01-05 change and modernizes to the current API.
+ Idea suggested by Eli Zaretskii in:
+ http://lists.gnu.org/archive/html/bug-gnu-utils/2012-05/msg00066.html
+ * src/cmp.c (main):
+ * src/diff.c (main, compare_files):
+ Use set_binary_mode rather than SET_BINARY.
+ * src/diff.c (compare_files): Omit unnecessary use of O_BINARY.
+ * src/io.c (sip): Sample unknown files in binary mode, to see
+ whether they are binary.
+ (read_files): Read binary files in binary mode.
+
+ build: update gnulib submodule to latest
+
+2012-05-13 Stefano Lattarini
+
+ build: omit obsolete AM_PROG_CC_STDC macro
+ The Automake-provided macro 'AM_PROG_CC_STDC' has been superseded by
+ the Autoconf-provided one 'AC_PROG_CC' since October 2002, and will
+ be removed in the next major automake version.
+ * configure.ac (AM_PROG_CC_STDC): Drop it.
+
+2012-05-05 Jim Meyering
+
+ diff: fix a typo that was always disabling the same_special_file macro
+ * src/system.h (same_special_file): Correct cpp guard expression:
+ s/HAVE_ST_RDEV/HAVE_STRUCT_STAT_ST_RDEV/. Reported by Eli Zaretskii.
+
+2012-04-17 Jim Meyering
+
+ maint: update bootstrap from gnulib
+ * bootstrap: Update from gnulib.
+
+2012-03-07 Eric Blake
+
+ usage: improve wording of --ignore-matching-lines
+ * src/diff.c (option_help_msgid): Tweak wording.
+
+2012-03-04 Paul Eggert
+
+ doc: explain -I RE better in --help output
+ * src/diff.c, src/sdiff.c (option_help_msgid): For -I RE,
+ change "whose lines all match" to "all whose lines match" to avoid
+ unintended interpretation. Reported by Danijel Tasov in
+ .
+
+2012-02-12 Paul Eggert
+
+ sdiff: remove dependency on sigprocmask
+ * bootstrap.conf (gnulib_modules): Remove sigprocmask.
+ * src/sdiff.c (temporary_file): No need to invoke sigprocmask
+ here, since the signal handler merely sets a flag.
+
+2012-02-04 Paul Eggert
+
+ diff: -N, --unidirectional-new-file now compare to "-" too
+ * NEWS: Document this.
+ * doc/diffutils.texi (Comparing Directories): Likewise.
+ Also, document that these options work at the top level.
+ * src/diff.c (compare_files): Treat EBADF like ENOENT, to handle
+ the case where "-" is closed. Allow the other file to be
+ STDIN_FILENO, in case it's "-".
+ * tests/Makefile.am (TESTS): Add new-file.
+ * tests/new-file: New file.
+
+2012-01-25 Paul Eggert
+
+ maint: quote 'like this' or "like this", not `like this'
+ This is in response to a recent change in the GNU coding standards,
+ which now suggest quoting 'like this' or "like this", instead of
+ `like this' or ``like this''.
+ * HACKING, NEWS, README, README-hacking, TODO, doc/diagmeet.note:
+ * doc/diffutils.texi, ms/config.bat, ms/config.site:
+ * src/analyze.c, src/cmp.c, src/context.c, src/diff.c:
+ * src/diff.h, src/diff3.c, src/dir.c, src/ifdef.c, src/io.c:
+ * src/sdiff.c, src/side.c, src/system.h, src/util.c:
+ * tests/help-version:
+ Quote 'like this' or "like this" in commentary.
+ * cfg.mk (old_NEWS_hash): Adjust to reflect new NEWS quoting.
+ * man/help2man: Update to 1.40.4 version, with quoting fixed as above.
+ * po/en.po: Remove translation involving `, as it's no longer needed.
+ * src/cmp.c (try_help, specify_ignore_initial, usage, main):
+ * src/diff.c (main, try_help, option_help_msgid, specify_value)
+ (compare_files):
+ * src/diff3.c (main, try_help, option_help_msgid, usage)
+ (read_diff):
+ * src/dir.c (compare_names):
+ * src/sdiff.c (try_help, usage, check_child_status, main):
+ * src/util.c (finish_output):
+ * tests/help-version:
+ Quote 'like this' in output.
+
+ build: update gnulib submodule to latest
+
+2012-01-12 Jim Meyering
+
+ build: accommodate newer bootstrap from gnulib
+ * bootstrap.conf (gnulib_tool_option_extras): Add both --symlink
+ and --makefile-name=gnulib.mk. Also remove now-obsolete $bt/ prefix.
+ * bootstrap: Update from gnulib.
+ * tests/init.sh: Update from gnulib.
+ * lib/Makefile.am: Initialize numerous variables, so that
+ generated code in gnulib.mk may use += to append to them.
+
+ maint: avoid new syntax-check failure
+ * src/diff.c (compare_files): Use STREQ, not strcmp.
+
+2012-01-08 Bruno Haible
+
+ New option --no-dereference.
+ * src/diff.h (no_dereference_symlinks): New variable.
+ * src/diff.c: Include xreadlink.h.
+ (longopts): Add --no-dereference option.
+ (main): Accept --no-dereference option.
+ (option_help_msgid): Mention the --no-dereference option.
+ (compare_files): If no_dereference_symlinks is true, use lstat()
+ instead of stat(). Compare symbolic links by comparing their values.
+ * bootstrap.conf (gnulib_modules): Add lstat, stat, xreadlink.
+ * doc/diffutils.texi (Comparing Directories, diff Options): Mention the
+ --no-dereference option.
+ * tests/no-dereference: New file.
+ * tests/Makefile.am (TESTS): Add it.
+
+2012-01-01 Jim Meyering
+
+ maint: update all copyright year number ranges
+ Run "make update-copyright".
+
+2011-12-14 Jim Meyering
+
+ build: update to latest gnulib and adapt
+ * tests/binary: Reverse arguments to compare to avoid failure of
+ new syntax-check rule.
+ * configure.ac: Use -Wno-format-nonliteral.
+ Mark functions as pure of const, per recommendations enabled by
+ new gcc -W options. Use _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST.
+ * lib/cmpbuf.h (buffer_lcm, block_compare):
+ Apply pure and/or const attributes.
+ * src/cmp.c (block_compare): Likewise.
+ * src/context.c (find_hunk): Likewise.
+ * src/diff.h (lines_differ): Likewise.
+ * src/diff3.c (skipwhite): Likewise.
+ * src/dir.c (dir_loop): Likewise.
+ * src/util.c (find_change, find_reverse_change): Likewise.
+ (translate_line_number): Likewise.
+
+ build: stop distributing gzip'd releases; xz is enough
+ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip.
+
+2011-11-29 Jim Meyering
+
+ tests: use "compare exp out", not "compare out exp"
+ Likewise, when an empty file is expected, use "compare /dev/null out",
+ not "compare out /dev/null". I.e., specify the expected/desired contents
+ via the first file name. Prompted by a suggestion from Bruno Haible
+ in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154
+
+ Run these commands:
+
+ git grep -l -E 'compare [^ ]+ exp' \
+ |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/'
+ git grep -l -E 'compare [^ ]+ /dev/null' \
+ |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'
+
+ But manually convert this one:
+
+ -compare out exp-$(echo $opt|tr ' ' _)
+ +compare exp-$(echo $opt|tr ' ' _) out
+
+ and avoid an inappropriate change to cfg.mk.
+
+2011-10-12 Stefano Lattarini
+
+ tests: use more portable fd redirection in TESTS_ENVIRONMENT
+ * tests/Makefile.am (TESTS_ENVIRONMENT): Redirection with `exec 9>&2'
+ is not portable to various Korn shells, and to (at least) HP-UX 11
+ /bin/sh. Use a more portable idiom.
+ See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488 for
+ lots of discussion.
+
+2011-10-11 Stefano Lattarini
+
+ tests: make test runner a script, not a shell function
+ All the test scripts in the diffutils testsuite are shell scripts,
+ so the current definition of TESTS_ENVIRONMENT, which adaptively
+ run tests using either perl or the shell depending on their kind,
+ is an overkill.
+
+ Moreover, this change is required in order for the testsuite to
+ continue to work with the new testsuite harness that is planned
+ to be introduced in Automake 1.12 (which, as of the writing date,
+ is still under development and in late alpha state).
+
+ See also related discussion on bug-coreutils:
+
+
+ * tests/Makefile.am (TESTS_ENVIRONMENT): Remove definition of the
+ `shell_or_perl_' shell function, which is not required anymore.
+ (LOG_COMPILER): New, define to `$(SHELL)'.
+ * tests/binary: Make executable.
+ * tests/colliding-file-names: Likewise.
+ * tests/excess-slash: Likewise.
+ * tests/no-newline-at-eof: Likewise.
+
+2011-10-04 Claudio Bley
+
+ portability: use SET_BINARY rather than xfreopen (NULL, ...
+ * src/diff.c: Include binary-io.h, not xfreopen.h.
+ (main): Use SET_BINARY (...) rather than xfreopen (NULL, X, ...),
+ because the latter doesn't work on MinGW and crashes using MSVC.
+ * src/cmp.c (main): Likewise.
+
+2011-10-04 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+2011-09-02 Jim Meyering
+
+ post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 3.2
+ * NEWS: Record release date.
+
+ build: update bootstrap and tests/init.sh from gnulib
+ * bootstrap: Update from gnulib.
+ * tests/init.sh: Likewise.
+
+ build: update gnulib submodule to latest
+
+2011-09-01 Jim Meyering
+
+ doc: diffutils' texi-derived doc may now be in debian's "main" section
+ * NEWS (Packaging): Mention the "no front/back-cover" change.
+
+2011-08-14 Jim Meyering
+
+ maint: avoid new "make sytnax-check" failure.
+ * src/diff.h (find_dir_file_pathname): Mark declaration with "extern"
+ keyword, in order to placate the tight-scope syntax check.
+
+2011-08-14 Paul Eggert
+
+ * src/io.c (find_and_hash_each_line): Refactor for brevity.
+
+2011-08-14 Roland McGrath
+
+ diff, sdiff: new option --ignore-trailing-space (-Z)
+ Derived from Roland McGrath's patch (dated June 2004!) in:
+ http://lists.gnu.org/archive/html/bug-gnu-utils/2004-07/msg00000.html
+ * NEWS:
+ * doc/diffutils.texi (White Space, Blank Lines)
+ (sdiff Option Summary, diff Options, sdiff Options): Document -Z.
+ * src/diff.h (IGNORE_TRAILING_SPACE)
+ (IGNORE_TAB_EXPANSION_AND_TRAILING_SPACE): New constants, for -Z.
+ * src/diff.c (shortopts, longopts, main, option_help_msgid):
+ * src/sdiff.c (longopts, option_help_msgid, main):
+ * src/io.c (find_and_hash_each_line):
+ * src/util.c (lines_differ, analyze_hunk): Support -Z.
+
+2011-08-13 Paul Eggert
+
+ * bootstrap.conf (gnulib_modules): Remove timegm.
+ This fixes a problem noted by Andreas Schwab in:
+ http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00035.html
+
+2011-08-13 Tim Waugh
+
+ diff: --ignore-file-name-case now applies at top level too
+ Derived from Tim Waugh's patch in:
+ http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00034.html
+ * NEWS, doc/diffutils.texi (diff Options): Document this.
+ * src/diff.c (compare_files): Implement this, by using
+ find_dir_file_pathname.
+ * src/diff.h (find_dir_file_pathname): New decl.
+ * src/dir.c: Include filenamecat.h.
+ (find_dir_file_pathname): New function.
+
+2011-08-13 Paul Eggert
+
+ * .gitignore: Add lib/unistr, lib/unused-parameter.h.
+
+2011-08-10 Jim Meyering
+
+ post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 3.1
+ * NEWS: Record release date.
+
+ build: use largefile module and update to latest gnulib
+ * configure.ac: Remove AC_SYS_LARGEFILE, subsumed by ...
+ * bootstrap.conf (gnulib_modules): ...this. Use largefile module.
+ * gnulib: Update to latest.
+
+2011-08-08 Santiago Vila
+
+ doc: insert comma in --help line for --ignore-space-change (-b)
+ * src/diff.c (option_help_msgid): Insert omitted comma between
+ "-b" and "--ignore-space-change". (tiny change)
+
+2011-08-04 Jim Meyering
+
+ doc: relax restriction on front-cover and back-cover texts
+ * doc/diffutils.texi (copying): Relax restriction on front-cover
+ and back-cover texts (just as m4 did here:
+ http://git.savannah.gnu.org/cgit/m4.git/commit?id=ee1e92ec).
+ Reported by Santiago Vila. Fix suggested by Eric Blake.
+
+2011-08-03 Jim Meyering
+
+ tests: update init.sh from gnulib
+ * tests/init.sh: Update from gnulib.
+
+ build: update gnulib submodule to latest
+
+2011-07-03 Jim Meyering
+
+ maint: remove inclusion of unused header, for "make syntax-check"
+ * src/diff3.c: Don't include . Not used.
+ * src/context.c: Likewise.
+
+2011-06-19 Jim Meyering
+
+ build: don't require perl when building from a tarball
+ But do ensure -- in all other circumstances -- that the man/*.1
+ files are rebuilt whenever the version number changes.
+ * configure.ac (SRC_VERSION_C): Define.
+ * man/Makefile.am (dist_man1_MANS): Rename from $(man1_MANS),
+ so that we distribute those pesky man/*.1 files.
+ (EXTRA_DIST): Reflect name change.
+ (MAINTAINERCLEANFILES): Define this, not DISTCLEANFILES,
+ now that these generated files are distributed.
+ ($(dist_man1_MANS)): Depend on $(SRC_VERSION_C), so we get the
+ full dependency when not building from a tarball.
+
+2011-06-13 Jim Meyering
+
+ doc: do not distribute generated man/*.1 man files
+ * man/help2man: New file.
+ * man/Makefile.am: Use $(srcdir)/help2man.
+ Convert $(dist_man1_MANS) to $(man1_MANS), to tell automake
+ not to distribute the generated man/*.1 files. Now they're
+ generated at build-from-tarball time.
+ ($(man1_MANS)): Depend on version.c, so that man pages are
+ regenerated whenever the version string changes.
+
+ build: ccache works better without embedded version strings
+ * src/Makefile.am: Generate version.c and version.h and put the
+ new symbol in a tiny library to be used by each program.
+ (LDADD): Add the new library.
+ * src/cmp.c (main): Use Version, not PACKAGE_VERSION, so the .o
+ file does not change with each commit-derived version increment.
+ * src/diff.c (main): Likewise.
+ * src/diff3.c (main): Likewise.
+ * src/sdiff.c (main): Likewise.
+ * src/system.h: Include "version.h".
+ * .gitignore: Add version.[ch]
+
+2011-06-12 Jim Meyering
+
+ doc: ensure each program has a man/*.x file: add "SEE ALSO" references
+ * man/cmp.x: New file.
+ * man/diff3.x: New file.
+ * man/sdiff.x: New file.
+ * man/diff.x: Add xrefs to the other three programs, and to patch.
+ * man/Makefile.am (EXTRA_DIST): List new files.
+ (cmp.1, diff3.1, sdiff.1): Depend on each .x file.
+
+ doc: rename diff.texi to diffutils.texi
+ This makes the .texi basename the same as the package name,
+ which is consistent with most other GNU packages.
+ * doc/diffutils.texi: Rename from...
+ * doc/diff.texi: ...removed.
+ * doc/Makefile.am (info_TEXINFOS): Reflect name change.
+ (diffutils_TEXINFOS): Likewise.
+ * cfg.mk (gendocs_options_): Remove this customization. It is no
+ longer needed, now that the .texi name matches that of the package.
+ * man/Makefile.am ($(dist_man1_MANS)): Remove now-unnecessary sed
+ filter.
+ * README: Update references to diffutils.texi etc. here, too.
+ * .gitignore: Update here, too.
+ Suggested by Karl Berry.
+
+2011-06-08 Karl Berry
+
+ cmp, diff, diff3, sdiff: edit and align --help text.
+ * cmp.c (option_help_msgid, usage),
+ * diff.c (option_help_msgid, usage),
+ * diff3.c (option_help_msgid, usage),
+ * sdiff.c (option_help_msgid, usage): align descriptions in the --help
+ output and slightly edit content.
+
+2011-05-27 Paul Eggert
+
+ diff: don't use locales after local-specific sorting fails
+ * src/dir.c (compare_names): Don't invoke strcasecmp if
+ locale-specific sorting fails, because POSIX.1-2008 says strcasecmp
+ has unspecified behavior outside the POSIX locale. See:
+ http://lists.gnu.org/archive/html/bug-diffutils/2011-05/msg00008.html
+
+ bootstrap: Avoid multithreading.
+ * bootstrap.conf (gnulib_tool_option_extras):
+ Add "--avoid=localename --avoid=lock", because we don't want to
+ bring in the multithreading code that recent gnulib changes would
+ otherwise bring in.
+ (excluded_files): Remove m4/lock.m4; no longer needed, now that
+ we use --avoid=lock.
+
+ build: update gnulib submodule to latest
+
+2011-05-23 Karl Berry
+
+ maint: update README-hacking
+ * README-hacking: Update a la coreutils for git, etc.
+
+2011-05-23 Jim Meyering
+
+ maint: update gnulib to latest with accompanying tight-scope tweaks
+ * cfg.mk: Include $(srcdir)/dist-check.mk using "-include",
+ to accommodate the new sc_tight_scope rule.
+ (_gl_TS_extern): Define, to tell gnulib's tight_scope rule that
+ headers here mark externs with "XTERN".
+ * gnulib: Update to latest.
+
+2011-05-18 Jim Meyering
+
+ maint: use gnulib's new readme-release module
+ * bootstrap.conf (gnulib_modules): Add readme-release.
+ (bootstrap_epilogue): Add the recommended perl one-liner.
+ * README-release: Remove file; it is now generated from gnulib.
+ * .gitignore: Add it.
+
+ build: update gnulib submodule to latest
+
+ maint: prepare for the tight-scope check
+ * src/diff.h: Mark function declarations with "extern" in
+ preparation for the tight-scope check.
+ (ignore_white_space): Separate enum decl from declaration
+ of this variable.
+ * src/Makefile.am (diff_SOURCES): Move diff.h from here to ...
+ (noinst_HEADERS): ...here.
+ For convenience, since the tight-scope rule uses $(noinst_HEADERS).
+
+ maint: don't use now-removed gnulib "exit" module
+ * bootstrap.conf (gnulib_modules): Remove "exit" module.
+ It no longer exists.
+
+2011-03-26 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ * .x-sc_space_tab: Remove file. Instead, ...
+ * cfg.mk (exclude_file_name_regexp--sc_space_tab): ...define this.
+
+ maint: fix typo in unused rule
+ * cfg.mk (config-save): Fix typo: add leading "_" in variable name.
+
+2011-03-18 Jim Meyering
+
+ doc: add a reference to wdiff(1) from diff.1
+ * man/diff.x: New file, to add "SEE ALSO" reference to wdiff(1).
+ * man/Makefile.am (diff.1): Depend on diff.x.
+ ($(dist_man1_MANS)): Tell help2man to include diff.x.
+ (EXTRA_DIST): Add diff.x.
+ Suggestion from Dan Jacobson in http://bugs.debian.org/613319
+
+2011-03-18 Eric Blake
+
+ docs: info should mention -L
+ * doc/diff.texi (diff Options): Document -L.
+
+ docs: diff --help should mention -L
+ * src/diff.c (option_help_msgid): Document -L.
+
+2011-02-15 Jim Meyering
+
+ doc: speak of the --test (-a) option, not "the -a or --test option"
+ Convert using this command:
+ perl -pi -e \
+ 's/(\@option{-.}) or (\@option{--.*?}) option/$2 ($1) option/' \
+ doc/diff.texi
+ Then convert some more with this:
+ perl -pi -e \
+ 's/the (\@option{-.}) or (\@option{--.*?})$/the $2 ($1)/' \
+ doc/diff.texi
+ Then convert more manually.
+
+ Suggested by Dan Jacobson
+
+2011-01-24 Jim Meyering
+
+ maint: remove all uses of vfork: use fork instead
+ Our use of vfork now provokes warnings from gcc-4.6.0.
+ Also, vfork is no longer even specified by POSIX.1-2008.
+ * src/diff3.c (read_diff): Change each use of vfork to "fork".
+ Remove #ifdef'd code.
+ * src/util.c (begin_output, finish_output): Likewise.
+ * src/sdiff.c (cleanup, main, edit): Likewise.
+ (handler_index_of_SIGPIPE): Remove now-unused definition.
+ * src/system.h: Don't include .
+ (vfork): Remove definition.
+ * ms/config.site: Remove reference to vfork cache variable.
+
+ tests: avoid newer but less-portable tail option syntax
+ * tests/function-line-vs-leading-space: Use sed -n '3,$p' rather than
+ tail -n+3. Older versions of tail do not accept that newer syntax.
+ Reported by Sudhakara Peram.
+
+ tests: fix an erroneous test
+ On most systems, like-named files were compared, by luck.
+ However, on others, different-named files would be compared
+ since their names were being treated as equal -- but they had
+ different content, so the test would fail.
+ * tests/colliding-file-names: Use different sets of file names
+ in d1 and d2 so that they cannot accidentally match.
+ Put the same line in each test file. This is required
+ when files named e.g., abc and ABC are compared.
+ This test was failing on a NixOS 86_64-darwin system.
+
+ build: update gnulib submodule to latest
+
+ tests: fix typo that silently disabled all tests
+ * tests/Makefile.am (TESTS): Fix typo: s/jESTS/TESTS/
+
+2011-01-23 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ maint: avoid new syntax-check failure
+ * src/diff.c (specify_value): Use !STREQ(...), not strcmp(...) != 0.
+ * src/diff3.c (main): Likewise.
+
+2011-01-03 Jim Meyering
+
+ maint: update copyright year ranges to include 2011
+ Run "make update-copyright", so "make syntax-check" works in 2011.
+
+ build: update gnulib submodule to latest
+
+2010-12-16 Paul Eggert
+
+ bootstrap: adjust to recent gnulib changes
+ * bootstrap.conf (excluded_files): Do not exclude m4/size_max.m4
+ and m4/xsize.m4 when using an external gettext, since they are
+ now needed by other gnulib modules.
+
+2010-12-16 Jim Meyering
+
+ doc: add contributor guidelines: HACKING
+ * HACKING: New file, copied 99% from the one in grep's repository.
+
+2010-10-09 Jim Meyering
+
+ maint: describe policy on copyright year number ranges
+ * README: Mention coreutils' long-standing policy on use of M-N
+ ranges in copyright year lists. Requested by Richard Stallman.
+
+2010-09-04 Jim Meyering
+
+ maint: adjust init.sh use to conform
+ * tests/help-version: Use one line: "${srcdir=.}/init.sh"; ...
+ * tests/basic: Likewise.
+ * tests/binary: Likewise.
+ * tests/colliding-file-names: Likewise.
+ * tests/excess-slash: Likewise.
+ * tests/function-line-vs-leading-space: Likewise.
+ * tests/help-version: Likewise.
+ * tests/label-vs-func: Likewise.
+ * tests/no-newline-at-eof: Likewise.
+ * tests/stdin: Likewise.
+
+ maint: avoid shadowing warning
+ * src/dir.c (diff_dirs): Rename shadowed local cmp to "c".
+
+2010-09-03 Jim Meyering
+
+ build: use gettext-h, not gettext
+ * bootstrap.conf (gnulib_modules): Use gettext-h, not gettext.
+ The latter is overkill for a package that uses
+ AM_GNU_GETTEXT([external]...
+
+ build: update build/test tools from gnulib
+ * bootstrap: Update from gnulib.
+ * tests/init.sh: Likewise.
+
+ build: update gnulib submodule to latest
+
+2010-08-14 Jim Meyering
+
+ diff -r: avoid printing excess slashes in concatenated file names
+ * bootstrap.conf (gnulib_modules): Add filenamecat.
+ * src/diff.c: Include "filenamecat.h".
+ (compare_files): Use file_name_concat, rather than dir_file_pathname.
+ * src/util.c (dir_file_pathname): Remove now-unused function.
+ * src/diff.h: Remove its declaration.
+ * tests/excess-slash: New script to test for this.
+ * tests/Makefile.am (TESTS): Add it.
+ Forwarded by Santiago Vila from ,
+ reported by Jari Aalto.
+
+2010-08-12 Paul Eggert
+
+ diff: avoid spurious diffs when two distinct dir entries compare equal
+ Problem reported by Christoph Anton Mitterer in:
+ http://lists.gnu.org/archive/html/bug-diffutils/2010-08/msg00000.html
+
+ * NEWS: Mention this bug fix.
+ * src/dir.c (compare_names_for_qsort): Fall back on file_name_cmp
+ if two distinct entries in the same directory compare equal.
+ (diff_dirs): Prefer a file_name_cmp match when available.
+ * tests/Makefile.am (TESTS): New test colliding-file-names.
+ * tests/colliding-file-names: New file.
+
+2010-05-09 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ build: don't define macros that gnulib provides
+ * bootstrap.conf (gnulib_modules): Add signal, stdint.
+ * lib/cmpbuf.c (SA_RESTART, SA_INTERRUPT): Remove definitions.
+ (SIZE_MAX, PTRDIFF_MAX): Likewise.
+ Include .
+ * src/system.h (WEXITSTATUS, WIFEXITED): Remove definitions.
+ (SA_RESTART, SA_INTERRUPT): Likewise.
+
+ build: rely on gnulib's sigprocmask module
+ * src/sdiff.c: Remove #if-!HAVE_SIGPROCMASK-guarded code.
+ * bootstrap.conf (gnulib_modules): Add sigprocmask.
+
+2010-05-04 Jim Meyering
+
+ doc: README-release: don't mention To:, Cc:, etc announcement headers,
+ now that those are supplied automatically via gnulib's maint.mk.
+ * README-release: sync with coreutils.
+
+ maint: teach web-doc-generating code how to do its job
+ * cfg.mk (gendocs_options): Define, so that gendocs.sh knows
+ the name of our texinfo source file.
+ * gnulib: Update to latest, for new gnu-web-doc-update and maint.mk.
+
+2010-05-03 Jim Meyering
+
+ doc: update release procedure
+ * README-release: Rearrange slightly: post the announcement to
+ Savannah first, so you can include a link to that post in the email.
+ Sync a few details from coreutils' README-release.
+
+ post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 3.0
+ * NEWS: Record release date.
+
+ build: update gnulib submodule to latest
+
+2010-04-30 Jim Meyering
+
+ build: use gnulib's sys_wait module
+ * bootstrap.conf (gnulib_modules): Use gnulib's sys_wait module,
+ now that we assume its presence.
+
+ build: update gnulib submodule to latest
+ * bootstrap: Also update from gnulib.
+ * tests/init.sh: Likewise
+
+ maint: remove now-useless #if HAVE_HEADER_H guards
+ * src/system.h: Include unconditionally,
+ now that gnulib guarantees its presence.
+ * lib/cmpbuf.c: Likewise for and .
+
+2010-04-16 Jim Meyering
+
+ tests: use original no-newline-at-eof test, but with -U1, not -U2
+ * tests/no-newline-at-eof: Revert to the smaller test, but with
+ -U1 rather than -U2, since that actually triggers the bug.
+
+2010-04-16 Paul Eggert
+
+ Followon improvements for the fix for Debian bug 577832.
+ * src/io.c (find_and_hash_each_line): Omit the inserted newline in
+ a simpler way.
+ * tests/no-newline-at-eof: Fix the test case so that it rejects
+ the old, buggy behavior.
+
+2010-04-16 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ tests: test for the no-newline-at-EOF bug
+ * tests/no-newline-at-eof: New file.
+ * tests/Makefile.am (TESTS): Add it.
+
+2010-04-16 Jim Meyering
+
+ diff: fix a regression when at least one input lacks a newline-at-EOF,
+ and the final hunk plus context-length aligns exactly with the end
+ of the newline-lacking file. Diff would fail to output the required
+ "\ No newline at end of file" line, thus rendering the output invalid.
+ This bug appears to have been introduced by 2006-05-07
+ commit 58d0483b, "(find_identical_ends): Fix huge performance bug...",
+ at least to the extent that reverting that change fixes the bug.
+ Considering the stated effect of that change and lack of metrics,
+ reverting it is not an option, so here we take a more direct approach.
+
+ Given these inputs,
+
+ printf '\n1'>a; printf '\n0\n\n1'>b
+
+ and running diff like this:
+
+ ./diff -U1 a b
+
+ for input file "b", the pointer, files[1].linbuf[4][-1], to
+ the last byte on the final line was mistakenly pointing at the
+ sentinel newline at EOF, rather than at the preceding byte.
+
+ (gdb) p files[1].linbuf[4][-1]
+ $3 = 10 '\n'
+
+ Thus, this test in the final print_1_line call:
+
+ if ((!line_flag || line_flag[0]) && limit[-1] != '\n')
+ fprintf (out, "\n\\ %s\n", _("No newline at end of file"));
+
+ would fail, because limit[-1] (which is files[1].linbuf[4][-1])
+ was mistakenly '\n', rather than the desired '1'.
+
+ My first thought was simply to adjust the final linbuf[line] setting,
+ at the end of io.c's find_and_hash_each_line function function:
+
+ if (p == bufend)
+ - break;
+ + {
+ + if (current->missing_newline)
+ + --linbuf[line];
+ + break;
+ + }
+
+ But that would make diff misbehave with this input
+ (same as above, but with a newline appended to "a"),
+
+ printf '\n1\n'>a; printf '\n0\n\n1'>b
+ ./diff -U1 a b
+
+ due to the block (100 lines above) that is triggered in that case
+ (but not in the both-files-missing-newline case):
+
+ if (p == bufend
+ && current->missing_newline
+ && ROBUST_OUTPUT_STYLE (output_style))
+ {
+ /* This line is incomplete. If this is significant,
+ put the line into buckets[-1]. */
+ if (ignore_white_space < IGNORE_SPACE_CHANGE)
+ bucket = &buckets[-1];
+
+ /* Omit the inserted newline when computing linbuf later. */
+ p--;
+ bufend = suffix_begin = p;
+ }
+
+ Note how "p" is decremented and "bufend" adjusted.
+ When that happens, we certainly don't want to decrement
+ "bufend" yet again.
+
+ Since there is no other way to determine at the end whether "bufend"
+ was already decremented, add a new variable to serve as witness.
+
+ * NEWS (Bug fixes): Mention it.
+ Reported by Timo Juhani Lindfors in http://bugs.debian.org/577832.
+ Forwarded by Santiago Vila.
+
+2010-04-16 Jim Meyering
+
+ tests: update init.sh from gnulib
+ * tests/init.sh: Update from gnulib.
+
+2010-04-08 Jim Meyering
+
+ build: include cfg.mk and dist-check.mk in the distribution tarball
+ * Makefile.am (EXTRA_DIST): Add cfg.mk and dist-check.mk.
+
+ maint: update to latest gnulib
+ * cfg.mk (sc_cross_check_PATH_usage_in_tests): Remove rule,
+ now that it's in gnulib's maint.mk.
+ * gnulib: Update to latest.
+
+2010-04-07 Jim Meyering
+
+ tests: make new PATH-crosschecking syntax-check tighter
+ * cfg.mk (sc_cross_check_PATH_usage_in_tests): Use grep's -x (match
+ entire line) option with -F.
+
+ tests: pull latest help-version from gzip
+ * tests/help-version: Update from gzip.
+ * Makefile.am (TESTS_ENVIRONMENT): Export VERSION,
+ as required for this new help-version script.
+
+ tests: add syntax-check rule to verify that tests use proper PATH
+ * cfg.mk (sc_cross_check_PATH_usage_in_tests): New rule, that is
+ useful only in conjunction with the help-version script.
+
+ tests: use path_prepend_ consistently; remove unnecessary VERBOSE check
+ * tests/basic: Likewise.
+ * tests/binary: Likewise.
+ * tests/function-line-vs-leading-space: Likewise.
+ * tests/label-vs-func: Likewise.
+ * tests/stdin: Likewise.
+
+2010-04-06 Eric Blake
+
+ maint: ignore generated files
+ * .gitignore: Ignore recent gnulib additions.
+
+ maint: update to latest bootstrap
+ * bootstrap: Copy from gnulib/build-aux.
+
+2010-04-05 Jim Meyering
+
+ tests: get latest init.sh from gnulib
+ * tests/init.sh: Update from gnulib.
+
+ build: update gnulib submodule to latest; adapt
+ * cfg.mk (local-checks-to-skip): Add new sc_texinfo_acronym, to skip it.
+
+ diff -F/-p: don't depend on locale-specific white-space definition
+ * src/context.c: Include "c-ctype.h".
+ Use c_isspace, not isspace.
+
+2010-03-18 Jim Meyering
+
+ tests: exercise new behavior of -F RE
+ * tests/function-line-vs-leading-space: New file.
+ * tests/Makefile.am (TESTS): Add it.
+
+2010-03-18 Yannick Moy
+
+ with -F or -p, emit better function lines: no leading white space
+ * src/diff.c (print_context_function): For languages like Ada
+ that allow local functions and procedures, the plain context
+ function line may start with enough blank characters that the
+ function name does not get completely printed in the 40
+ characters limit. This patch solves this problem by removing
+ these useless initial blank characters.
+ * NEWS (Changes in behavior): Mention this change.
+
+2010-03-17 Jim Meyering
+
+ build: don't require a specific version of help2man
+ * bootstrap.conf (buildreq): Bootstrap can't deal with it,
+ perhaps because the command name contains a digit.
+
+ build: make bootstrap ensure that help2man is available
+ * bootstrap.conf (buildreq): Add help2man.
+
+2010-02-23 Jim Meyering
+
+ tests: test for the "Binary files A and B differ" diagnostic
+ * tests/binary: New script.
+ * tests/Makefile.am (TESTS): Add it.
+
+ revert 2002 change that removed "Binary " from "files A and B differ"
+ With this change, "printf '\0'|diff - /dev/null" now prints
+ "Binary files - and /dev/null differ" once again.
+ This reverts 2002-06-28 commit a352f0980,
+ "(briefly_report): Don't say "Binary files differ", ...".
+ * src/analyze.c (briefly_report): Do include the "Binary " prefix
+ in the diagnostic, when !brief.
+ * NEWS (Changes in behavior): Mention the diagnostic change.
+ Reported by Andreas Hoenen in http://bugs.debian.org/570064.
+
+2010-02-14 Juan Manuel Guerrero
+
+ avoid compilation failure on systems lacking both fork and vfork
+ * src/sdiff.c [!HAVE_WORKING_FORK && !HAVE_WORKING_VFORK] (main):
+ Pass the right number of arguments to shell_quote_copy.
+ * src/util.c [!HAVE_WORKING_FORK && !HAVE_WORKING_VFORK] (begin_output):
+ Likewise.
+
+2010-02-11 Jim Meyering
+
+ post-release administrivia
+ * NEWS: Add header line for next release.
+ * .prev-version: Record previous version.
+ * cfg.mk (old_NEWS_hash): Auto-update.
+
+ version 2.9
+ * NEWS: Record release date.
+
+ doc: document the release procedure
+ * README-release: New file.
+
+2010-02-10 Jim Meyering
+
+ maint: change use of "|" to more maintainable "||" (no semantic change)
+ * src/analyze.c (diff_2_files): Using the "||" operator happens to
+ be equivalent to using "|" in this case. It is also clearer and
+ less prone to inadvertent bug introduction, in case the variable,
+ "changes" were ever to take on a value not in {0,1}.
+ Patch by Tim Waugh, via Mike Frysinger.
+
+ portability: avoid "diff - ..." failure at least on *BSD and Solaris
+ The new "stdin" test was failing on many types of systems.
+ * src/diff.c (compare_files): Guard use of xfreopen (NULL, "rb", ...
+ also with O_BINARY, so as to avoid this unnecessary call on
+ systems where it's not needed (on some it fails with "Bad address".
+
+2010-02-09 Jim Meyering
+
+ tests: honor VERBOSE
+ * tests/basic: Enable "set -x" if $VERBOSE.
+ * tests/help-version: Likewise.
+ * tests/label-vs-func: Likewise.
+ * tests/stdin: Likewise.
+
+2010-02-04 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ sync with gnulib
+ * gl/lib/regcomp.c.diff: Adjust to apply to the latest in gnulib.
+ * gnulib: Update submodule to latest.
+
+2010-02-04 Jim Meyering
+
+ build: do not override gnulib-provided AM_CFLAGS options
+ Avoid a warning from automake:
+ lib/Makefile.am:23: AM_CFLAGS multiply defined in condition TRUE ...
+ lib/gnulib.mk:30: ... `AM_CFLAGS' previously defined here
+ lib/Makefile.am:18: `lib/gnulib.mk' included from here
+
+ * lib/Makefile.am (AM_CFLAGS): Append $(WARN_CFLAGS) and
+ $(WERROR_CFLAGS), i.e., use "+=", not "=".
+ This was introduced via 2009-12-17 commit e58efa5b
+ "build: enable warnings and -Werror.",
+ but fortunately is not a bug, because the definition
+ it would have overridden was always empty.
+
+2010-01-17 Jim Meyering
+
+ maint: add to .gitignore
+ * .gitignore: Ignore more.
+
+2010-01-15 Jim Meyering
+
+ doc: add to TODO
+ * TODO: Add an item, suggested by Dan Jacobson.
+
+2010-01-13 Jim Meyering
+
+ tests: ensure that an argument of "-" is treated as standard input
+ * tests/stdin: New test.
+ * tests/Makefile.am (TESTS): Add it.
+
+2010-01-10 Jim Meyering
+
+ tests: now "make distcheck" runs more tests, incl. syntax-check
+ * cfg.mk: Include dist-check.mk, from coreutils.
+ * Makefile.am (distcheck-hook): Define rule, to hook to...
+ * dist-check.mk: New file.
+
+2010-01-09 Jim Meyering
+
+ build: update gnulib to latest, for fixed syntax-check rule
+
+ maint: record updated NEWS hash
+ * cfg.mk (old_NEWS_hash): Update to account for GFDL change.
+
+ build: update gnulib submodule to latest
+
+ tests: add a test of basic functionality
+ * tests/basic: Start adding tests.
+ * tests/Makefile.am (TESTS): Add it.
+
+ maint: udpate GFDL license to 1.3
+ * doc/diff.texi: Update to use GFDL version 1.3.
+
+2010-01-04 Eric Blake
+
+ build: allow compilation on cygwin
+ * src/Makefile.am (cmp_LDADD): Move LIBICONV...
+ (LDADD): ...into global flags, since all programs need it.
+
+2010-01-03 Jim Meyering
+
+ maint: record update-copyright options for this package
+ * cfg.mk: Next time, just run "make update-copyright".
+
+ tests: prepend ../src, not "." to PATH
+ * tests/help-version: Correct PATH.
+
+2010-01-01 Jim Meyering
+
+ maint: update all FSF copyright year lists to include 2010
+ Use this command:
+ git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \
+ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
+
+2009-12-31 Jim Meyering
+
+ maint: newer gnulib; don't hard-code my GPG key ID
+ * cfg.mk (gpg_key_ID): Remove definition, now that maint.mk automates it.
+ * gnulib: Update to latest.
+
+ tests: exercise diff -p's function-name matching
+ * tests/label-vs-func: New file.
+ * tests/Makefile.am (TESTS): Add label-vs-func.
+ Reported by Simon Arlott
+ http://article.gmane.org/gmane.linux.kernel.janitors/14260
+
+ tests: use gnulib's init.sh
+ * tests/Makefile.am (EXTRA_DIST): Add init.sh.
+ Remove test-lib.sh.
+ * tests/init.sh: New file.
+ * tests/test-lib.sh: Remove file.
+ * tests/help-version: Use init.sh, not test-lib.sh.
+
+2009-11-28 Jim Meyering
+
+ maint: don't let trailing spaces in diffs perturb make syntax-check
+ * .x-sc_space_tab: New file.
+
+2009-11-22 Jim Meyering
+
+ build: enable warnings and -Werror.
+ * src/Makefile.am (AM_CFLAGS): Enable warnings and -Werror.
+ Set to this: $(WARN_CFLAGS) $(WERROR_CFLAGS)
+ * lib/Makefile.am (AM_CFLAGS): Similarly, but use this:
+ $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
+ * configure.ac (GNULIB_WARN_CFLAGS): Don't turn off -Wuninitialized.
+
+ build: avoid a warning from gnulib's sh-quote.c
+ * gl/lib/sh-quote.c.diff: New file, to avoid a warning.
+
+ maint: avoid warnings via patched versions of gnulib's regex functions
+ * gl/lib/regcomp.c.diff: New file.
+ * gl/lib/regex_internal.c.diff: Likewise.
+ * gl/lib/regex_internal.h.diff: Likewise.
+ * gl/lib/regexec.c.diff: Likewise.
+
+ build: update gnulib submodule to latest
+
+2009-11-20 Eric Blake
+
+ build: ignore more files
+ * .gitignore: Add config.cache, *.exe.
+
+2009-11-20 Eric Blake
+
+ build: fix test run on cygwin
+ This, plus a gnulib update for xalloc-die-tests, are necessary
+ for make check to pass on cygwin.
+
+ * tests/Makefile.am (built_programs): Ignore $(EXEEXT).
+ * src/Makefile.am (paths.h): Add missing dependency.
+
+2009-11-20 Jim Meyering
+
+ maint: remove vestiges of nanosleep
+ * src/Makefile.am (LDADD): Remove $(LIB_NANOSLEEP), now
+ that we no longer use the nanosleep module.
+ Spotted by Eric Blake.
+
+ maint: don't pull in gnulib's nanosleep unnecessarily
+ * bootstrap.conf (gnulib_modules): Remove nanosleep. Not needed.
+ Spotted by Eric Blake.
+
+ maint: cfg.mk: remove factored-out ftp host/dir definitions
+ * cfg.mk (gnu_ftp_host-alpha, gnu_ftp_host-beta gnu_ftp_host-stable):
+ (gnu_rel_host, url_dir_list): Remove definitions. The defaults,
+ now provided by maint.mk, are the same.
+ * gnulib: Update for latest, including those maint.mk additions.
+
+ build: link with now-required libraries
+ * src/Makefile.am (LDADD): Add gnulib-required libraries.
+ (cmp_LDADD): Add $(LIBICONV), for cmp's use of proper_name_utf8.
+
+ maint: lib/xfreopen.c contains translatable strings
+ * po/POTFILES.in: Add lib/xfreopen.c.
+
+ maint: remove hard-coded macro definitions provided by intprops.h
+ * lib/cmpbuf.c: Include "intprops.h" rather than open-coding macros
+ like TYPE_SIGNED and TYPE_MINIMUM.
+
+ maint: add gnulib's announce-gen module
+ * bootstrap.conf (gnulib_modules): Add announce-gen
+
+ build: suppress warnings about bindtextdomain and textdomain
+ * src/system.h (bindtextdomain, textdomain) [!ENABLE_NLS]: Define away.
+
+ build: use more gnulib modules
+ * bootstrap.conf (gnulib_modules): Add mktime, nanosleep, strptime
+ and timegm.
+
+ use xfreopen rather than freopen
+ * src/cmp.c: Include "xfreopen.h".
+ Use xfreopen in place of freopen.
+ * src/diff.c Likewise, and...
+ (main): Set exit_failure to EXIT_TROUBLE, rather than to 2.
+ * src/diff3.c: Likewise.
+ * bootstrap.conf (gnulib_modules): Add xfreopen.
+
+ build: enable many warnings
+ * configure.ac: Add support for --enable-gcc-warnings.
+ * bootstrap.conf (gnulib_modules): Add manywarnings.
+ * Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS) $(WERROR_CFLAGS)
+
+ build: update gnulib submodule to latest
+
+ maint: add an assertion to suppress clang-detected warning
+ The clang static analyzer reported that a NULL parent could be
+ dereferenced. However, that cannot happen, because for all callers,
+ the parameter, parent, is always non-NULL at that point.
+ * src/diff.c: Include .
+ Assert that parent is not NULL.
+
+ maint: remove dead assignment from diff3.c
+ * src/diff3.c (make_3way_diff): Remove dead assignment.
+
+2009-11-17 Jim Meyering
+
+ build: update gnulib submodule to latest
+
+ maint: hide build commands behind $(AM_V_GEN)
+ * src/Makefile.am (paths.h): Use $(AM_V_GEN), and split a long line.
+ * man/Makefile.am ($(dist_man1_MANS)): Use $(AM_V_GEN) here, too.
+
+2009-11-16 Jim Meyering
+
+ build: let automake generate better man-installation rules
+ * man/Makefile.am (dist_man1_MANS): Rename from dist_man_MANS,
+ to enable better automake-generated installation rules.
+
+ admin: ignore all of gnulib-tests
+ * .gitignore: Add gnulib-tests
+
+2009-11-16 Eric Blake
+
+ build: avoid link failure when libsigsegv is used
+ * src/Makefile.am (LDADD): Link against LIBSIGSEGV.
+
+2009-11-16 Jim Meyering
+
+ maint: define/use PROGRAM_NAME and AUTHORS; use propername module
+ * bootstrap.conf (gnulib_modules): Add propername.
+ * src/cmp.c (PROGRAM_NAME, AUTHORS): Define.
+ (main): Use them in use of version_etc.
+ * src/diff.c (PROGRAM_NAME, AUTHORS, main): Likewise.
+ * src/diff3.c (PROGRAM_NAME, AUTHORS, main): Likewise.
+ * src/sdiff.c (PROGRAM_NAME, AUTHORS, main): Likewise.
+ * src/system.h: Include "propername.h".
+
+ maint: no longer define *_FILENO constants
+ * src/system.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+ Remove definitions. Now guaranteed by gnulib.
+
+ maint: bug-diffutils@gnu.org is the new bug-reporting address
+ * configure.ac (AC_INIT): Use bug-diffutils@..., not bug-gnu-utils
+ as the bug-reporting address.
+ * NEWS (Administrivia): Mention this.
+ * src/cmp.c (usage): Remove hard-coded address.
+ Instead, use gnulib's emit_bug_reporting_address function.
+ * src/diff.c (usage, option_help_msgid): Likewise.
+ * src/diff3.c (usage): Likewise.
+ * src/sdiff.c (usage): Likewise.
+
+ sdiff, diff3: exec diff, not $(bindir)/diff
+ * src/Makefile.am (paths.h): Emit a definition of DEFAULT_DIFF_PROGRAM
+ that is simply "diff" (or whatever $(transform) would convert that to,
+ e.g., "gdiff"). This makes it so that tests can work without first
+ installing diff, and so that the binaries do not hard-code $(prefix).
+ * NEWS (Changes in behavior): Mention this.
+
+2009-11-14 Jim Meyering
+
+ tests: add the first script; hook up gnulib-tests
+ * configure.ac (AC_CONFIG_FILES): Add tests/Makefile and
+ gnulib-tests/Makefile.
+ * tests/help-version: New file, from coreutils.
+ * tests/test-lib.sh: Likewise.
+ * tests/Makefile.am: New file, from gzip.
+ * Makefile.am (SUBDIRS): Add tests and gnulib-tests.
+ * tests/t-local.sh: New, empty(for now) file.
+
+2009-11-13 Jim Meyering
+
+ build: require gettext-0.17
+ * configure.ac: Require gettext-0.17; it was released two years ago.
+
+ build: correct gettext configure-time support
+ * configure.ac: Use AM_GNU_GETTEXT([external], [need-ngettext]),
+ rather than AM_GNU_GETTEXT([external], [need-formatstring-macros]).
+ Reported by Martin Jacobs in
+ http://thread.gmane.org/gmane.comp.parsers.bison.bugs/3181
+
+2009-11-12 Jim Meyering
+
+ build: generalize autoheader check
+ * bootstrap: Look for AC_CONFIG_HEADER as well as AC_CONFIG_HEADERS.
+
+2009-11-11 Jim Meyering
+
+ maint: use a git submodule for gnulib
+ * .gitmodules: New file, to track gnulib.
+ * gnulib: New file, created by running this:
+ git submodule add git://git.sv.gnu.org/gnulib.git gnulib
+
+ maint: tell git what it can ignore
+ * .gitignore: Ignore generated files.
diff --git a/ChangeLog-2008 b/ChangeLog-2008
new file mode 100644
index 0000000..714c354
--- /dev/null
+++ b/ChangeLog-2008
@@ -0,0 +1,4273 @@
+2008-01-30 Paul Eggert
+
+ * doc/diff.texi: Update Back-Cover text to reflect new GNU wording.
+
+2008-01-24 Paul Eggert
+
+ * src/side.c [!HAVE_MBRTOWC]: Supply defns for mbstate_t and mbrtowc.
+ Problem reported by Bruno Haible.
+
+2008-01-23 Paul Eggert
+
+ * src/side.c (print_half_line): Don't convert to unsigned char
+ unnecessarily.
+
+ Don't mishandle multibyte characters in side-by-side format.
+ Problem reported by Erik Karlsson in
+ .
+ * bootstrap.conf (gnulib_modules): Add wcwidth.
+ * src/side.c: Include .
+ (print_half_line): Compute number of bytes and print widths of
+ multibyte characters. Inspired by an alternative solution from
+ Bruno Haible in
+ .
+
+2007-12-04 Paul Eggert
+
+ * NEWS: New diff option --suppress-blank-empty (no longer -u default).
+ * doc/diff.texi (Detailed Unified): Trailing spaces are no longer
+ omitted.
+ (Trailing Blanks): New section.
+ (diff Options) Mention new option.
+ * src/diff.h (suppress_blank_entry): New decl.
+ * src/context.c (pr_unidiff_hunk): Support --suppress-blank-empty.
+ * src/util.c (print_1_line): Likewise.
+ * src/diff.c (longopts, main, option_help_msgid): Likewise.
+ (SUPPRESS_BLANK_EMPTY_OPTION): New constant.
+
+ * configure.ac: Invoke gl_USE_SYSTEM_EXTENSIONS after gl_EARLY,
+ since gnulib now requires this order.
+
+ * bootstrap: Import from gnulib.
+
+2007-08-17 Paul Eggert
+
+ Break out diffseq.h into a separate file, so that gettext can use
+ this code. Idea and code from Bruno Haible.
+ * bootstrap.conf (gnulib_modules): Add diffseq.
+ * src/analyze.c (xvec, yvec, fdiag, bdiag, too_expensive, SNAKE_LIMIT):
+ (struct partition, diag, compareseq): Remove; now in diffseq.h.
+ (ELEMENT, EQUAL, OFFSET, EXTRA_CONTEXT_FIELDS, NOTE_DELETE, NOTE_INSERT):
+ (USE_HEURISTIC): New macros.
+ Include "diffseq.h".
+ (diff_2_files): Rewrite to use new diffseq.h interface.
+
+ * bootstrap: Import from gnulib.
+
+2007-08-15 Paul Eggert
+
+ * src/diff.c (compare_files): Use last_component rather than base_name,
+ adjusting to gnulib API change. This avoids a memory leak.
+ * src/sdiff.c (expand_name): Likewise.
+ * src/util.c (dir_file_pathname): Likewise.
+
+ * doc/diff.texi (Copying This Manual): Adjust to new fdl.texi layout.
+
+2007-07-19 Paul Eggert
+
+ * doc/diff.texi (White Space): Note that newline always ends a line,
+ so -w doesn't ignore newline-related changes. Problem reported by
+ David Kastrup.
+
+ * COPYING: New file.
+ * AUTHORS: Update from GPLv2 to GPLv3.
+ * Makefile.am: Likewise.
+ * NEWS: Likewise.
+ * README: Likewise.
+ * README-hacking: Likewise.
+ * bootstrap: Likewise.
+ * bootstrap.conf: Likewise.
+ * configure.ac: Likewise.
+ * exgettext: Likewise.
+ * doc/Makefile.am: Likewise.
+ * lib/Makefile.am: Likewise.
+ * lib/cmpbuf.c: Likewise.
+ * lib/cmpbuf.h: Likewise.
+ * lib/prepargs.c: Likewise.
+ * m4/vararrays.m4: Likewise.
+ * man/Makefile.am: Likewise.
+ * ms/Makefile.am: Likewise.
+ * ms/README: Likewise.
+ * ms/config.bat: Likewise.
+ * ms/config.sed: Likewise.
+ * ms/config.site: Likewise.
+ * po/POTFILES.in: Likewise.
+ * src/Makefile.am: Likewise.
+ * src/analyze.c: Likewise.
+ * src/cmp.c: Likewise.
+ * src/context.c: Likewise.
+ * src/diff.c: Likewise.
+ * src/diff.h: Likewise.
+ * src/diff3.c: Likewise.
+ * src/dir.c: Likewise.
+ * src/ed.c: Likewise.
+ * src/io.c: Likewise.
+ * src/normal.c: Likewise.
+ * src/sdiff.c: Likewise.
+ * src/system.h: Likewise.
+ * src/util.c: Likewise.
+
+ * src/ifdef.c: Fix typo: "GNU DIFF General Public License" should be
+ "GNU General Public License". Reported by Erich Guenther.
+ * src/side.c: Likewise.
+
+2007-06-18 Paul Eggert
+
+ * bootstrap.conf (gnulib_modules): Add inttypes.
+ * src/context.c (print_context_label): Don't assume that time_t
+ fits in long int, since it doesn't in FreeBSD/arm. Problem
+ reported by Xin Li in
+ .
+
+2007-06-06 Paul Eggert
+
+ * NEWS: Mention new sdiff aliases 1 and 2 for l and r.
+ * doc/diff.texi (Merge Commands): Likewise.
+ * src/sdiff.c (give_help): Give help for them.
+ (edit): Support them.
+
+2007-04-11 Paul Eggert
+
+ * doc/diff.texi (Detailed diff3 Normal): "range is a singleton" ->
+ "there is only one line", for clarity. Suggested by Jerry Peek.
+
+2007-04-04 Paul Eggert
+
+ * TODO: Mention possible sdiff improvement.
+
+ * bootstrap: Sync from gnulib.
+ * src/cmp.c: Don't include exit.h; no longer needed.
+ * src/diff.c: Likewise.
+ * src/sdiff.c: Likewise.
+ * src/dir.c: Don't include strcase.h; no longer needed.
+ * README-alpha: Remove, replacing with:
+ * README-hacking: New file, taken from coreutils with some changes.
+ The rename is required by the change to 'bootstrap'.
+
+2006-11-15 Paul Eggert
+
+ * src/analyze.c (build_reverse_script): Fix typo in comment.
+ Problem and fix reported by Daniel Hipschman.
+
+2006-11-14 Paul Eggert
+
+ Don't assume SIGPIPE exists, and that sigblock and sigsetmask
+ exist if sigprocmask does not. Problem reported by Paul Edwards
+ for MVS 3.8.
+ * configure.ac (sigblock): Check whether this function is
+ available, if sigprocmask is not.
+ * src/sdiff.c (sigs): Omit SIGPIPE if it's not defined.
+ Put SIGINT last; all uses changed.
+ (handler_index_of_SIGPIPE): Omit if SIGPIPE is not defined.
+ (sigblock, sigsetmask) [!HAVE_SIGBLOCK]: New macros.
+ (sigprocmask): Don't dump core if O is null.
+
+2006-11-04 Paul Eggert
+
+ * src/sdiff.c (sigprocmask) [! HAVE_SIGPROCMASK]: Cast 2nd arg to
+ sigset_t *, since it might be a literal 0. Problem reported by
+ Paul Edwards for MVS 3.8.
+
+2006-09-05 Paul Eggert
+
+ * NEWS: diff -u no longer outputs trailing white space unless the
+ input data has it. Suggested by Jim Meyering.
+ * doc/diff.texi (Detailed Unified): Document this.
+ * src/context.c (pr_unidiff_hunk): Implement this.
+
+ Modernize bootstrap procedure to match current gnulib.
+ * bootstrap: Sync with coreutils bootstrap, except check that
+ the directory build-aux exists before trying to copy to it.
+ * bootstrap.conf: New file.
+ (gnulib_modules): Add config-h, dup2, extensions, fcntl, fdl,
+ stat-macros, unistd.
+ * configure.ac: Invoke gl_EARLY and gl_INIT rather than
+ GNULIB_AUTOCONF_SNIPPET.
+ (AC_CONFIG_HEADER): Rename config.h to lib/config.h.
+ (AC_CHECK_HEADERS_ONCE): Don't check for fcntl.h, locale.h,
+ sys/file.h, unistd.h. We now use the fcntl and unistd modules,
+ and locale.h can be assumed for any C89 compiler.
+ (DIFFUTILS_PREREQUISITES): Remove. No longer needed now that
+ we use the stdint module.
+ (AC_CHECK_FUNCS_ONCE): Remove dup2, which is no longer needed
+ now that we use the dup2 module.
+ (AM_GNU_GETTEXT): Use need-formatstring-macros, and ...
+ (AM_GNU_GETTEXT_VERSION): specify version 0.15 instead of 0.14.5,
+ to be consistent with coreutils.
+ * lib/Makefile.am (noinst_LIBRARIES):
+ (lib_SOURCES, libdiffutils_a_LIBADD):
+ (libdiffutils_a_DEPENDENCIES, BUILT_SOURCES, EXTRA_DIST):
+ (MOSTLYCLEANFILES): Remove; now computed automatically.
+ (noinst_HEADERS, libdiffutils_a_SOURCES): Just append
+ our special files now.
+ * lib/cmpbuf.c: Include config.h unconditionally, since we
+ no longer define HAVE_CONFIG_H.
+ * lib/prepargs.c: Likewise.
+ * src/Makefile.am (LDADD): Use $(LIBINTL), not @LIBINTL@.
+ (diff_LDADD): Use $(LIB_CLOCK_GETTIME), not @LIB_CLOCK_GETTIME@.
+ * src/dir.c (dir_read): Use _D_EXACT_NAMLEN, not NAMELEN.
+ * src/system.h (volatile): Remove, since we assume C89 or better.
+ Include stat-macros.h.
+ (S_IRWXU, S_IRWXG, S_IRWXO, S_IRUSR, S_IWUSR):
+ Remove, since we now use stat-macros.h.
+ (SEEK_SET, SEEK_CUR): Remove, since we assume C89 or better.
+ Include unistd.h unconditionally, since we use unistd.
+ Likewise for fcntl.h.
+ (dup2): Remove, since we now use dup2.
+ (O_RDONLY, O_RWDR, O_BINARY): Remove, since we now use
+ fcntl.
+ Include dirent.h unconditionally.
+ (NAMLEN): Remove, replacing with....
+ (_D_EXACT_NAMLEN): New macro.
+ Include inttypes.h unconditionally.
+ (PTRDIFF_MAX, SIZE_MAX, UINTMAX_MAX, strtoumax): Remove, since
+ we now use inttypes.
+ Include locale.h unconditionally.
+ (setlocale): Remove, since we now assume locale.h.
+
+2006-09-04 Jim Meyering
+
+ * src/context.c (print_context_function): Do not print
+ trailing white space in a context header.
+
+2006-05-09 Paul Eggert
+
+ * src/cmp.c (cmp): The previous fix wasn't quite right either, as
+ it mishandled 'cmp A B >/dev/null' when A is shorter than B and
+ differs before A's end-of-file, by outputting a bogus EOF message.
+ Also, it was inefficient if A and B were large.
+
+2006-05-07 Jim Meyering (tiny change)
+
+ Fix bug introduced in 2006-03-09 change:
+ cmp always exits successfully, when stdout is redirected to /dev/null.
+ * src/cmp.c (cmp): When there's a difference, arrange to return nonzero
+ also when comparison_type is the new (from 2006-03-09) type_no_stdout.
+
+2006-05-07 Paul Eggert
+
+ * src/context.c (pr_context_hunk, pr_unidiff_hunk):
+ Prefer fputs or fputc to fprintf, since it's a tad more efficient
+ with unlocked-IO on glibc. Long ago we avoided fputs to
+ work around an ancient SunOS bug, but that's no longer relevant.
+ * src/diff3.c (output_diff3, dotlines, undotlines):
+ (output_diff3_edscript, output_diff3_merge): Likewise.
+ This also avoids a gcc -Wformat-security warning reported
+ by Jim Meyering.
+ * src/ed.c (print_ed_hunk, print_forward_ed_hunk, print_rcs_hunk):
+ Likewise.
+ * src/normal.c (print_normal_hunk): Likewise.
+
+2006-05-06 Paul Eggert
+
+ * src/io.c (find_identical_ends): Fix huge performance bug that I
+ introduced in the 2001-11-25 change: the code to remove the
+ identical suffix also looked at the trailing sentinel, which meant
+ the common suffix length was always incorrectly calculated to be
+ zero. Problem and fix reported by Daniel Hipschman. Instead of
+ his fix, revert to the pre-2001 code.
+
+ * doc/diff.texi: Switch from GFDL 1.1 to 1.2.
+
+2006-03-13 Paul Eggert
+
+ * src/system.h (PARAMS, PROTOTYPES): Remove; no longer needed.
+ (IF_LINT): New macro, to pacify GCC.
+ * src/analyze.c (diag, compareseq): Use IF_LINT.
+ * src/cmp.c (cmp): Likewise.
+ * src/diff3.c (process_diff): Likewise. Also, prefer NULL to 0.
+ * src/ifdef.c (do_printf_spec, scan_char_literal): Likewise.
+ * src/sdiff.c (edit): Likewise.
+
+2006-03-09 Paul Eggert
+
+ * src/cmp.c (type_no_stdout): New constant.
+ (main): Use it to avoid bug when the "EOF on foo" message is
+ generated and stdout is /dev/null.
+ Problem reported by Vincent Lefevre (Debian bug 356083).
+
+2006-01-04 Paul Eggert
+
+ * README-alpha: Describe CVS access better, using the README-alpha
+ from GNU tar.
+ * AUTHORS: Simplify list by removing legalisms.
+ * THANKS: Add Larry Wall, who contributed to manual. Update email
+ addresses.
+ * Makefile.am (SUBDIRS): Remove m4. Put lib first, then other
+ source files, so documentation can rely on programs being built.
+ * bootstrap: Import changes from Bison bootstrap. Add gettext,
+ gettime, sh-quote, stat-time, verify, version-etc-fsf modules.
+ Remove posixver module. Retrieve doc/fdl.texi from gnulib.
+ Handle gettext.m4 like glibc21.m4. Don't remove po/en.po.
+ * configure.ac (AC_PREREQ): Bump to 2.59.
+ (AC_INIT): Bump version to 2.8.7-cvs.
+ (AC_CONFIG_AUX_DIR): Change from config to build-aux.
+ Prefer AC_CHECK_HEADERS_ONCE to AC_CHECK_HEADERS
+ and AC_CHECK_FUNCS_ONCE to AC_CHECK_FUNCS.
+ Remove jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T,
+ AC_STRUCT_ST_MTIM_NSEC.
+ (DIFFUTILS_PREREQUISITES): New macro. Call it.
+ (REGEX_MALLOC): Remove; no longer needed.
+ (AM_GNU_GETTEXT_VERSION): Now 0.14.15.
+ (AM_GNU_GETTEXT): Call.
+ (LIB_CLOCK_GETTIME): Remove; bootstrap now does that.
+ (AC_FUNC_SETMODE_DOS): Remove.
+ (AC_CONFIG_FILES): Remove m4/Makefile.
+ * doc/diff.texi: Use @- at end of lines that should end in white space,
+ so that Emacs doesn't remove the white space.
+ (diff Options): "diff -NUM" is a pure extension to POSIX, so support
+ it unconditionally.
+ * lib/Makefile.am (noinst_HEADERS): Remove quotesys.h.
+ (lib_SOURCES): Remove quotesys.c.
+ (DISTCLEANFILES): Remove.
+ (EXTRA_DIST): Remove setmode.h, waitpid.c.
+ * lib/cmpbuf.c (block_read): Reword to avoid gcc -W warning.
+ * lib/setmode.c, lib/setmode.h: Remove.
+ * m4/setmode.m4, m4/gnu-source.m4, m4/Makefile.am.in: Remove.
+ * m4/jm-glibc-io.m4: Remove.
+ * src/cmp.c: Don't include .
+ (specify_ignore_initial): Reword to avoid gcc -W warnings.
+ (main): Use freopen instead of setmode, since freopen is in POSIX.
+ * src/context.c: Revert most 2004-09-01 changes. Then:
+ (TIMESPEC_NS): Remove. All uses replaced by
+ get_stat_mtime_ns.
+ Include stat-time.h, strftime.h.
+ (nstrtime): Remove decl.
+ * src/diff.c: Revert most 2004-09-01 changes. Then:
+ Don't include , , .
+ Include , , .
+ All uses of quotesys replaced by sh-quote.
+ (main, compare_files):
+ Use freopen instead of setmode, since freopen is in POSIX.
+ (main): Don't complain about "diff -NUM'.
+ (main, set_mtime_to_now):
+ Adjust to stat-time.h macros when accessing nanoseconds.
+ * src/diff3.c: Include sh-quote.h rather than quotesys. All uses
+ changed.
+ * src/dir.c (dir_read): excluded_filename renamed to
+ excluded_file_name.
+ * src/io.c: Don't include .
+ (sip, read_files): Remove binary file stuff, leaving a FIXME behind.
+ A DOS expert needs to look at this.
+ * src/diff.c: Include sh-quote.h rather than quotesys.h.
+ All uses changed.
+ * src/system.h: Include verify.h.
+ (verify): Remove. All uses changed to verify.h version.
+ Include .
+ (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove. Now uses
+ intprops.h versions.
+ (O_BINARY): New defns, taken from coreutils.
+ * src/util.c: Include sh-quote.h rather than quotesys.h.
+ All uses changed.
+
+2004-09-01 Paul Eggert
+
+ * src/diff.c (recursive, new_file, unidirectional_new_file):
+ (report_identical_files):
+ Move into struct diffopt. All uses changed.
+ (exclude_options, compare_files, specify_style, check_stdout):
+ New arg OPT. All uses changed.
+ (GDIFF_MAIN): Remove. All uses removed.
+ (function_regexp_list, ignore_regexp_list): No longer static; now
+ locals in 'main'.
+ (main): Set opt.function_regexp, opt.ignore_regexp if using regexps;
+ all other code now tests these pointers rather than inspecting fastmap
+ internals.
+ New local OPT to hold former statics; initialize it.
+ (init_regexp_list): New function, used by main.
+ (summarize_regexp_list): Now returns struct re_pattern_buffer *, and
+ assumes reglist->regexps is not NULL. All uses changed.
+
+ * src/context.c (find_function_last_search): Move into struct diffopt.
+ All uses changed.
+ (pr_context_label, pr_context_header,
+ print_context_script, find_function, find_hunk, mark_ignorable,
+ pr_context_hunk, pr_unidiff_hunk): New arg OPT. All uses changed.
+ (print_context_number_range,
+ print_unidiff_number_range): New arg OUT. All uses changed.
+
+2004-07-19 Stepan Kasal
+
+ * src/ed.c (print_ed_hunk): Optimize the case where an insert's
+ last line is a single-dot line.
+
+2004-06-30 Paul Eggert
+
+ * lib/setmode.c:
+ Don't include , since setmode.h now does this.
+ Include setmode.h first, to catch interface errors.
+ Assume HAVE_SETMODE_DOS is defined.
+
+ * lib/setmode.h: Include stdbool.h.
+
+2004-04-26 Paul Eggert
+
+ * bootstrap: Don't remove po/en.po.
+
+2004-04-13 Paul Eggert
+
+ * NEWS, configure.ac (AC_INIT): Version 2.8.7.
+ * configure.ac (AM_GNU_GETTEXT_VERSION): Add.
+ (XGETTEXT): Restore from pre-2004-04-12 version. This fixes
+ a bug that lost many msgids in doc/diffutils.pot.
+ * bootstrap: New file.
+ * exgettext: Don't generate a temporary file, as this runs afoul
+ of "make distcheck" which operates with read-only directories.
+ * Makefile.am (EXTRA_DIST): Add bootstrap.
+ Remove config/config.rpath as it is deduced automatically these days.
+
+2004-04-12 Paul Eggert
+
+ * NEWS, configure.ac (AC_INIT): Version 2.8.6.
+
+ * NEWS: Add news for 2.8.4, 2.8.6.
+
+ * README: Move copyright notice to end. Defer to "configure
+ --help" for special "configure" options. Suggest latest libiconv.
+ Update version numbers of Autoconf etc. to current.
+
+ * configure.ac: Quote various arguments better.
+ (AC_CONFIG_MACRO_DIR): Add call, specifying "m4".
+ (AC_CONFIG_HEADER): Replaces AM_CONFIG_HEADER.
+ (gl_USE_SYSTEM_EXTENSIONS): Replaces AC_GNU_SOURCE.
+ (AC_ISC_POSIX): Remove; nobody ports to ancient ISC any more.
+ (AC_PROG_CPP, AC_PROG_INSTALL, AC_C_INLINE,
+ AC_HEADER_STDBOOL, AC_HEADER_STDC, AM_GNU_GETTEXT, XGETTEXT,
+ AC_HEADER_STAT, AC_FUNC_VPRINTF, jm_FUNC_GLIBC_UNLOCKED_IO,
+ jm_FUNC_GNU_STRFTIME, jm_FUNC_MALLOC, jm_FUNC_REALLOC,
+ jm_PREREQ_C_STACK, jm_PREREQ_ERROR, jm_PREREQ_HARD_LOCALE,
+ jm_PREREQ_QUOTEARG, jm_PREREQ_REGEX, AC_FUNC_FNMATCH_GNU, jm_AC_DOS):
+ Remove; not needed here, as our files don't use them directly
+ or we rely on gnulib modules.
+ (AC_C_CONST): Remove; we assume C89 now.
+ (AC_CHECK_HEADERS): Remove libintl.h, limits.h, stdlib.h, string.h,
+ time.h.
+ (AC_CHECK_TYPE): Remove ptrdiff_t, ssize_t.
+ (AC_CHECK_FUNCS): Remove diraccess, strchr, strerror, tmpnam).
+ (AC_REPLACE_FUNCS): Remove memchr, mkstemp, strcasecmp.
+ (GNULIB_AUTOCONF_SNIPPET): Add call. This replaces much of
+ the above.
+ (AC_CONFIG_FILES): Remove lib/posix/Makefile.
+ (AC_CONFIG_COMMANDS): Remove.
+
+ * doc/diff.texi (dircategory): Change to "Text creation and
+ manipulation" from "GNU packages".
+ (Translations): New node.
+ (Overview): Improve quality of algorithm citations.
+ (Binary): -q doesn't exactly cause diff to assume files are binary.
+ (Normal): Place after Side by Side, since it's less important.
+ (Detailed Context, Detailed Unified, Detailed ed,
+ Detailed if-then-else, diff3 Hunks, Detailed diff3 Normal):
+ Place at end of menu.
+ (Detailed Unified): Mention that fractional timestamps are
+ omitted on hosts that don't support them.
+ Mention what happens when hunks contain just one line.
+ (Line Group Formats, Reject Names): Fix duplicate-word typos.
+ (Comparing Directories): Trailing white space and empty lines are
+ ignored in the -X file.
+ (diff Options): Add --strip-trailing-cr.
+ (Projects): gnu -> gvc@gnu.org.
+
+ * lib/Makefile.am (SUBDIRS): Remove.
+ (EXTRA_DIST, noinst_HEADERS): Remove most entries.
+ (libdiffutils_a_SOURCES): Now just lib_SOURCES.
+ (lib_SOURCES): New macro.
+ (DISTCLEANFILES, MOSTLYCLEANFILES): Set to empty now.
+ (gnulib.mk): Include: this does most of the work eliminated
+ by the above changes.
+
+ * lib/inttostr.c (inttostr): Protect i < 0 by compile-time
+ test intended to suppress compiler warnings.
+ * lib/inttostr.h: Include limits.h unilaterally.
+ (CHAR_BIT): Remove.
+ (PARAMS): Remove; all uses changed.
+ * lib/setmode.c (__attribute__): New macro.
+ (set_binary_mode): Define only if HAVE_SETMODE_DOS.
+ Otherwise define a dummy static char, as C89 requires
+ that we define something.
+ * lib/setmode.h (set_binary_mode): Return true, not 1.
+
+ * src/analyze.c, src/context.c, src/diff.c, src/io.c, src/util.c:
+ Do not include regex.h, as diff.h does this now.
+
+ * src/cmp.c: Sort includes. Include , .
+ (specify_comparison_type): Don't report an error if the comparison
+ type has already been specified the same way as this one.
+
+ * src/cmp.c (usage): Mention exit status.
+ * src/diff.c (option_help_msgid): Likewise.
+ * src/diff3.c (usage): Likewise.
+ * src/sdiff.c (usage): Likewise.
+
+ * src/cmp.c (main): Adjust to latest gnulib c_stack_action
+ calling conventions.
+ * src/diff.c (main): Likewise.
+ * src/diff3.c (main): Likewise.
+ * src/sdiff.c (main): Likewise.
+
+ * src/cmp.c (main): Adjust to latest version_etc calling conventions.
+ * src/diff.c (main): Likewise.
+ * src/diff3.c (main): Likewise.
+ * src/sdiff.c (main): Likewise.
+
+ * src/diff.c: Include .
+ (binary): Define to true if not declared.
+ (longopts): Set tabsize flag to 1.
+ (main): Don't output nanoseconds if platform lacks them.
+ Don't treat files as binary if !binary.
+ (set_mtime_to_now): Use 0, not NULL.
+ (compare_files): Mark files as nonexistent if it looks like
+ 'patch' created inaccessible regular empty files to denote
+ nonexistent backups. Don't compare such files.
+ Clear st_* members of status of nonexistent file.
+ Remove now-unnecessary tests.
+
+ * src/diff.h: Include regex.h, unlocked-io.h.
+ (struct file_data.changed): Now char *, not bool *, to save
+ space on hosts where bool takes more space than char.
+ All uses changed.
+
+ * src/diff3.c: Include unlocked-io.h.
+ (strip_trailing_cr): New var.
+ (STRIP_TRAILING_CR_OPTION): New enum.
+ (longopts, main, option_help_msgid, read_diff):
+ Add --strip-trailing-cr support.
+ (read_diff): Exit with status 126 (not 127) if errno != ENOENT
+ after failed execvp in child. Report this in parent.
+
+ * src/dir.c: Include .
+ (failed_locale_specific_sorting): Renamed from failed_strcoll.
+ All uses changed.
+ (compare_names): Don't invoke strcasecmp first thing when
+ ignore_file_name_case; if locale_specific_sorting, we should
+ just use that.
+
+ * src/ifdef.c (next_line): Remove; replace with...
+ (next_line0, next_line1): New vars.
+ (print_ifdef_script, print_ifdef_hunk):
+ Use them to fix line-number computation bug.
+
+ * src/io.c (find_and_hash_each_line): Don't convert char *
+ to unsigned char *; just leave pointers as char *. This
+ lessens the number of potentially-dangerous casts.
+ * src/util.c (lines_differ): Likewise.
+
+ * src/sdiff.c: Include